Liking cljdoc? Tell your friends :D

cider.inlined-deps.toolsnamespace.v0v3v0-alpha4.clojure.tools.namespace.dependency

Bidirectional graphs of dependencies and dependent objects.

Bidirectional graphs of dependencies and dependent objects.
raw docstring

DependencyGraphcljprotocol

immediate-dependenciesclj

(immediate-dependencies graph node)

Returns the set of immediate dependencies of node.

Returns the set of immediate dependencies of node.

immediate-dependentsclj

(immediate-dependents graph node)

Returns the set of immediate dependents of node.

Returns the set of immediate dependents of node.

nodesclj

(nodes graph)

Returns the set of all nodes in graph.

Returns the set of all nodes in graph.

transitive-dependenciesclj

(transitive-dependencies graph node)

Returns the set of all things which node depends on, directly or transitively.

Returns the set of all things which node depends on, directly or
transitively.

transitive-dependencies-setclj

(transitive-dependencies-set graph node-set)

Returns the set of all things which any node in node-set depends on, directly or transitively.

Returns the set of all things which any node in node-set depends
on, directly or transitively.

transitive-dependentsclj

(transitive-dependents graph node)

Returns the set of all things which depend upon node, directly or transitively.

Returns the set of all things which depend upon node, directly or
transitively.

transitive-dependents-setclj

(transitive-dependents-set graph node-set)

Returns the set of all things which depend upon any node in node-set, directly or transitively.

Returns the set of all things which depend upon any node in
node-set, directly or transitively.
source

DependencyGraphUpdatecljprotocol

dependclj

(depend graph node dep)

Returns a new graph with a dependency from node to dep ("node depends on dep"). Forbids circular dependencies.

Returns a new graph with a dependency from node to dep ("node depends
on dep"). Forbids circular dependencies.

remove-allclj

(remove-all graph node)

Returns a new dependency graph with all references to node removed.

Returns a new dependency graph with all references to node removed.

remove-edgeclj

(remove-edge graph node dep)

Returns a new graph with the dependency from node to dep removed.

Returns a new graph with the dependency from node to dep removed.

remove-nodeclj

(remove-node graph node)

Removes the node from the dependency graph without removing it as a dependency of other nodes. That is, removes all outgoing edges from node.

Removes the node from the dependency graph without removing it as a
dependency of other nodes. That is, removes all outgoing edges from
node.
source

dependent?clj

(dependent? graph x y)

True if y is a dependent of x.

True if y is a dependent of x.
sourceraw docstring

depends?clj

(depends? graph x y)

True if x is directly or transitively dependent on y.

True if x is directly or transitively dependent on y.
sourceraw docstring

graphclj

(graph)

Returns a new, empty, dependency graph.

Returns a new, empty, dependency graph.
sourceraw docstring

set-conjclj

source

topo-comparatorclj

(topo-comparator graph)

Returns a comparator fn which produces a topological sort based on the dependencies in graph. Nodes not present in the graph will sort after nodes in the graph.

Returns a comparator fn which produces a topological sort based on
the dependencies in graph. Nodes not present in the graph will sort
after nodes in the graph.
sourceraw docstring

topo-sortclj

(topo-sort graph)

Returns a topologically-sorted list of nodes in graph.

Returns a topologically-sorted list of nodes in graph.
sourceraw docstring

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

× close