(check schema value & more)
Throws an ExceptionInfo if value
does not conform to schema
.
Throws an ExceptionInfo if `value` does not conform to `schema`.
(digraph & args)
Creates a directed graph. Example:
(digraph :nodes ["start" ["end" {:shape "box"}]] :edges [["start" 1] ["start" 5] [4 "end"] [8 "end"]] :clusters [(digraph :edges [[1 2 3 4]] :bgcolor "lightgrey" :label "process 1") (digraph :edges [[5 6 7 8]] :label "process 2")])
Creates a directed graph. Example: (digraph :nodes ["start" ["end" {:shape "box"}]] :edges [["start" 1] ["start" 5] [4 "end"] [8 "end"]] :clusters [(digraph :edges [[1 2 3 4]] :bgcolor "lightgrey" :label "process 1") (digraph :edges [[5 6 7 8]] :label "process 2")])
(dot g)
(graph & args)
Creates an undirected graph. Example:
(graph :nodes ["start" ["end" {:shape "box"}]] :edges [["start" 1] ["start" 5] [4 "end"] [8 "end"]] :clusters [(digraph :edges [[1 2 3 4]] :bgcolor "lightgrey" :label "process 1") (digraph :edges [[5 6 7 8]] :label "process 2")])
Creates an undirected graph. Example: (graph :nodes ["start" ["end" {:shape "box"}]] :edges [["start" 1] ["start" 5] [4 "end"] [8 "end"]] :clusters [(digraph :edges [[1 2 3 4]] :bgcolor "lightgrey" :label "process 1") (digraph :edges [[5 6 7 8]] :label "process 2")])
(save-graph! g filename)
Saves an image in a file.
Example: (save-graph! (graph :nodes [1 2 3]) "graph.png")
Saves an image in a file. Example: (save-graph! (graph :nodes [1 2 3]) "graph.png")
(view! g & {:keys [scale] :or {scale 2}})
Visualizes a graph.
Visualizes a graph.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close