Liking cljdoc? Tell your friends :D

arrowic.core


*graph*clj

source

as-svgclj

(as-svg graph)

Return graph as a string containing an SVG document depicting the graph.

Return `graph` as a string containing an SVG document depicting the graph.
sourceraw docstring

as-swing-componentclj

(as-swing-component graph)

Return a Swing component suitable for use in a GUI.

Return a Swing component suitable for use in a GUI.
sourceraw docstring

create-graphclj

(create-graph)

Return a new empty graph.

Return a new empty graph.
sourceraw docstring

create-viewerclj

(create-viewer graph)

Create a new Swing GUI viewer showing graph.

Create a new Swing GUI viewer showing `graph`.
sourceraw docstring

insert-edge!clj

(insert-edge! v1 v2 & options)

Inserts an edge into graph between v1 and v2 with optional edge-label.

Inserts an edge into *graph* between `v1` and `v2` with optional `edge-label`.
sourceraw docstring

insert-vertex!clj

(insert-vertex! v & options)

Inserts vertex v into graph. The string representation of v is used both for its label and as its identity.

Inserts vertex `v` into *graph*. The string representation of `v` is used both for its label and as its identity.
sourceraw docstring

viewclj

(view viewer graph)

Request viewer to show a layout of graph.

Request `viewer` to show a layout of `graph`.
sourceraw docstring

with-graphcljmacro

(with-graph graph & body)

Evaluates body in a context within which graph is bound to graph, returning graph.

Evaluates `body` in a context within which *graph* is bound to `graph`, returning `graph`.
sourceraw docstring

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

× close