Travertex

Made with Travertex ↗

Topological sort of tasks with prerequisites

Each arrow means “must happen before”. Press Run to watch Kahn’s algorithm build an order where every task comes after its prerequisites, taking a task with nothing left waiting on it at each step.

Embed this graph

Paste this into any web page. It shows the graph as it is now, and visitors can run the algorithms on it.