(graph->dot nodes
adjacent
&
{:keys [directed? vertical? options node->descriptor
edge->descriptor cluster->parent node->clusters
cluster->descriptor cluster->ranks]
:or {directed? true
vertical? true
node->descriptor (constantly nil)
edge->descriptor (constantly nil)
cluster->parent (constantly nil)
node->clusters (constantly nil)
cluster->descriptor (constantly nil)
cluster->ranks (constantly 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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close