FocusFlow: Sugiyama DAG Auto-Layout & Orthogonal Edge Routing by Xiang ChenFocusFlow: Sugiyama DAG Auto-Layout & Orthogonal Edge Routing by Xiang Chen

FocusFlow: Sugiyama DAG Auto-Layout & Orthogonal Edge Routing

Portfolio project
Xiang Chen
FocusFlow requires seamless visualization of complex directed graphs, dependency trees, and workflow automations. This project introduces a high-speed, client-side Sugiyama hierarchical DAG layout engine coupled with collision-free orthogonal routing.
Key Technical Highlights:
DFS Feedback Arc Cycle Breaking: Eliminates circular loops in arbitrary user graphs before layered rank assignment.
Barycenter Crossing Minimization: Heuristic layer ordering reduces edge intersections across adjacent ranks by over 80%.
Orthogonal A* Edge Routing: Generates clean, 90-degree bend routing paths avoiding node bounding boxes with zero collisions.
Web Worker Offloading: Computes layout coordinates in background threads for 2,000+ nodes in under 15ms.
Outcome: Instant, flicker-free automatic diagram arrangement with fluid layout transitions.

0 likes · 0 views · Nov 18, 2026

Production hierarchical DAG auto-layout algorithm with DFS cycle breaking, crossing minimization heuristics, and collision-free A* orthogonal edge routing.

Tags