Link Search Menu Expand Document

tsort

Perform a topological sort. A common use is to show the dependency order of nodes in a directed acyclic graph.

  • Perform a topological sort consistent with a partial sort per line of input separated by blanks:

tsort {{file}}