Directed Graph Editor & Digraph Visualizer Online
Create clean directed graphs (digraphs) online with boundary-aligned arrowheads, curved reverse edges, self-loops, and live cycle detection. Switch between directed and undirected graphs anytime with a single click or keystroke (D).
Directed vs Undirected Graph Features
Automatic Parallel Curve Separation
When both1 → 2 and 2 → 1 exist (like residual flow networks or mutual dependencies), edges curve cleanly apart so arrowheads and weights never collide.
Self-Loop Arcs & Warning Badges
Typing3 3 renders a clean self-loop arc around vertex 3 and displays a live Self-Loop indicator in the bottom status bar.
DAG Status & Cycle Algorithms
Every directed edit recomputes in-degree/out-degree parity and checks acyclicity, updating the liveDAG badge and feeding Topological Sort & Tarjan SCC.
Sample Directed Edge List Input
1 2 2 3 3 4 4 2 1 5 5 4 5 6
Frequently Asked Questions
How do I toggle between directed and undirected edges?
Click the Directed / Undirected button in the top toolbar or press D on your keyboard.
Can I mix custom vertex labels with directed arrows?
Yes. Use strings or primed IDs such as SRC 1' or 1' SINK — helpful for max-flow / min-cut vertex splitting.
How do I inspect strongly connected cycles?
Open the Algorithms tab and launch Tarjan's SCC or DFS to color each strongly connected component distinctly.