Liking cljdoc? Tell your friends :D

idm.graph.util

Utility functions for graph management

Utility functions for graph management
raw docstring

add-resolversclj

(add-resolvers g unique-attrs all-attrs resolve-fn)

Adds a set of nodes and edges as follows:

  1. A generated ident node matching the target namespace. This node will be marked as a resolver, and have the resolve function stored in its attrs.
  2. Edges from unique-attrs to the ident node
  3. Edges from the generated ident node to all-attrs
Adds a set of nodes and edges as follows:

1. A generated ident node matching the target namespace. This node will be
marked as a resolver, and have the resolve function stored in its attrs.
2. Edges from `unique-attrs` to the ident node
3. Edges from the generated ident node to `all-attrs`
raw docstring

e->strclj

(e->str e)

Debug representation of an edge. Ignores attributes.

Debug representation of an edge. Ignores attributes.
raw docstring

edge->vectorclj

(edge->vector edge)

Convert an Ubergraph edge to a vector of the form [src dest attrs], using the graph, which is stored on a given edge as metadata (usually) to retrieve the attributes.

Convert an Ubergraph edge to a vector of the form [src dest attrs], using
the graph, which is stored on a given edge as metadata (usually) to retrieve
the attributes.
raw docstring

valid-multipath?clj

(valid-multipath? start-nodes multipath)

Validate that the sequence of steps indicated by a multipath is actually traversable

Validate that the sequence of steps indicated by a multipath is actually
traversable
raw docstring

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

× close