Skip to contents

Topological sort of all node ids. Errors on cycles.

Usage

graph_toposort(graph)

Arguments

graph

A Graph.

Value

Integer node ids in topological order.