A namespace used by graph-related extensions, such as explicit-deps and namespace-deps.
A namespace used by graph-related extensions, such as explicit-deps and namespace-deps.
(topsort g)(topsort g start)Topological sort of a directed acyclic graph (DAG). Returns nil if g contains any cycles.
Topological sort of a directed acyclic graph (DAG). Returns nil if g contains any cycles.
(topsort-component successors start)(topsort-component successors start seen explored)Topological sort of a component of a (presumably) directed graph. Returns nil if the graph contains any cycles.
Topological sort of a component of a (presumably) directed graph. Returns nil if the graph contains any cycles.
(with-transitives var graphs & body)Wraps the body having the *states* extension point bound to the
transitive dependencies and dependents of the given state var. The
dependencies are read from the given graphs map. The graphs map
holds a :dependencies key and :dependents key. Both values must
hold a defstate-to-defstates direct dependency graph. The defstates
are represented by namespaced keywords.
Wraps the `body` having the `*states*` extension point bound to the transitive dependencies and dependents of the given state `var`. The dependencies are read from the given graphs map. The graphs map holds a `:dependencies` key and `:dependents` key. Both values must hold a defstate-to-defstates direct dependency graph. The defstates are represented by namespaced keywords.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs | 
| ← | Move to previous article | 
| → | Move to next article | 
| Ctrl+/ | Jump to the search field |