Package-level declarations
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Creates a topological ordering of nodes by means of performing a depth-first search in the graph. In case an edge is encountered that creates a cycle in the graph, that edge is ignored. The ordering is returned as a map from each node to its index in the ordering.