director.thirdparty.toposort module¶
-
director.thirdparty.toposort.
toposort
(data)[source]¶ Dependencies are expressed as a dictionary whose keys are items and whose values are a set of dependent items. Output is a list of sets in topological order. The first set consists of items with no dependences, each subsequent set consists of items that depend upon items in the preceeding sets.