Liking cljdoc? Tell your friends :D

gv.core


checkcljmacro

(check schema value & more)

Throws an ExceptionInfo if value does not conform to schema.

Throws an ExceptionInfo if `value` does not conform to `schema`.
raw docstring

commaclj


digraphclj

(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")])
raw docstring

dotclj

(dot g)

graphclj

(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")])
raw docstring

linesepclj


nlclj


save-graph!clj

(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")
raw docstring

view!clj

(view! g & {:keys [scale] :or {scale 2}})

Visualizes a graph.

Visualizes a graph.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close