(ancestors* g node)
Returns all ancestors of the node in the graph.
Returns all ancestors of the node in the graph.
(directed? g)
Returns true if g is directed.
Returns true if g is directed.
(graph? g)
Returns true if g is a loom graph.
Returns true if g is a loom graph.
(kahn-sort g)
(kahn-sort g s)
Returns a topological sort for directed Loom graph g. Removes cycles.
Returns a topological sort for directed Loom graph g. Removes cycles.
(leaf? g n)
Returns true if the node is a leaf in the graph.
Returns true if the node is a leaf in the graph.
(leaves g)
Returns the leaf nodes of the graph.
Returns the leaf nodes of the graph.
(root? g n)
Returns true if the node is a root of the graph.
Returns true if the node is a root of the graph.
(roots g)
Returns the root nodes of the graph.
Returns the root nodes of the graph.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close