Back

dot-str (clj)

(source)

function

(dot-str g & {:keys [graph-name node-label edge-label], :or {graph-name "graph"}, :as opts})
Renders graph g as a DOT-format string. Calls (node-label node) and (edge-label n1 n2) to determine what labels to use for nodes and edges, if any. Weights become edge labels unless a label is specified. Labels also include attributes when the graph satisfies AttrGraph.

Examples