graph icon indicating copy to clipboard operation
graph copied to clipboard

request: toposort into levels

Open joemalle opened this issue 4 years ago • 0 comments

I don't think it's currently possible to get each "level" fromtopological_sort (where a level contains the set of vertices with no unfinished dependencies e.g. if a depends on b, b depends on z, and c depends on z, then the levels are [z], [b, c], [a]).

I think this would be a helpful feature. I'd be happy to write a PR if others are interested.

joemalle avatar Jan 09 '21 03:01 joemalle