Liking cljdoc? Tell your friends :D

extra-loom.multigraph


build-graphclj/s

(build-graph g & inits)

Builds up a graph (i.e. adds edges and nodes) from any combination of adjacency maps, edges, or nodes.

Builds up a graph (i.e. adds edges and nodes) from any combination of
adjacency maps, edges, or nodes.
raw docstring

digraph?clj/s

(digraph? g)

distinct-edgesclj/s

(distinct-edges g)

The distinct edges in the graph. eliminates mirrored edges.

The distinct edges in the graph. eliminates mirrored edges.
raw docstring

edge-equiv?clj/s

(edge-equiv? this other)

Does this edge have the same src and dest as the other?

Does this edge have the same src and dest as the other?
raw docstring

edge?clj/s

(edge? e)

Is e an edge?

Is e an edge?
raw docstring

edges-between*clj/s

(edges-between* g n1 n2)

Identifiedclj/sprotocol

idclj/s

(id this)

Returns the id of this.

Returns the id of this.

mirrored?clj/s

(mirrored? this)

Returns true if this is a mirrored edge.

Returns true if this is a mirrored edge.

impl-multipleedgeclj


make-edgeclj/s

(make-edge src dest)
(make-edge src dest mirrored?)

Returns a new UniqueEdge instance from src and dest.

Returns a new UniqueEdge instance from src and dest.
raw docstring

merge-graphsclj/s

(merge-graphs & gs)

Merges multigraphs or multidigraphs.

Merges multigraphs or multidigraphs.
raw docstring

multidigraphclj/s

(multidigraph & inits)

MultiEdgeEditableDigraphclj/s


MultiEdgeEditableGraphclj/s


multigraphclj/s

(multigraph & inits)

MultipleEdgeclj/sprotocol

edges-betweenclj/s

(edges-between g n1 n2)

Returns the edges in g between two nodes.

Returns the edges in g between two nodes.

pprintclj/s

(pprint g)

Pretty print a multidigraph

Pretty print a multidigraph
raw docstring

unique-edge?clj/s

(unique-edge? e)

Is e a UniqueEdge?

Is e a UniqueEdge?
raw docstring

UniqueEdgeclj/s

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

× close