(->literal s)
(format-label label)
(graph->dot nodes
adjacent
&
{:keys [directed? vertical? options node->descriptor
edge->descriptor root-cluster cluster->children
node->cluster cluster->descriptor cluster->ranks]
:or {directed? true
node->cluster (constantly nil)
cluster->descriptor (constantly nil)
cluster->ranks (constantly nil)
edge->descriptor (constantly nil)
cluster->children (constantly nil)
node->descriptor (constantly nil)
vertical? true
root-cluster nil}
:as graph-descriptor})
Takes a description of a graph, and returns a string describing a GraphViz dot file.
Requires two fields: nodes
, which is a list of the nodes in the graph, and adjacent
, which
is a function that takes a node and returns a list of adjacent nodes.
Takes a description of a graph, and returns a string describing a GraphViz dot file. Requires two fields: `nodes`, which is a list of the nodes in the graph, and `adjacent`, which is a function that takes a node and returns a list of adjacent nodes.
(literal? x)
(translate-options m)
(tree-nodes root children)
(unwrap-literal x)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close