Crate topological_sort

Crate topological_sort 

Source

Functions§

topological_sort
有向グラフの頂点をトポロジカル順に並べて返します。グラフが DAG でなければ None を返します。