Liking cljdoc? Tell your friends :D

extra-loom.useful


ancestors*clj/s

(ancestors* g node)

Returns all ancestors of the node in the graph.

Returns all ancestors of the node in the graph.
raw docstring

directed?clj/s

(directed? g)

Returns true if g is directed.

Returns true if g is directed.
raw docstring

graph?clj/s

(graph? g)

Returns true if g is a loom graph.

Returns true if g is a loom graph.
raw docstring

kahn-sortclj/s

(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.
raw docstring

leaf?clj/s

(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.
raw docstring

leavesclj/s

(leaves g)

Returns the leaf nodes of the graph.

Returns the leaf nodes of the graph.
raw docstring

root?clj/s

(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.
raw docstring

rootsclj/s

(roots g)

Returns the root nodes of the graph.

Returns the root nodes of the graph.
raw docstring

tree?clj/s

(tree? g)

Is g a tree?

Is g a tree?
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close