(add-link {:keys [primary] :as build-graph} link {:keys [uuid] :as entity})
(assert-node {:keys [codex] :as _bg} {:keys [uuid] :as _entity})
(associate {:keys [primary] :as build-graph}
link
{associated-primary :primary :as associated-build-graph})
(ensure-node {:keys [codex] :as build-graph} {:keys [uuid] :as entity})
(entities-in-build-order {:keys [codex primary] :as build-graph})
(entity build-graph id)
(in-edges-with-links {:keys [labels] :as _bg} node)
(init)
(init entity)
(link-entities build-graph
entity-id
[_label _associate :as link]
other-entity-id)
(merge-builds {:keys [labels codex] :as primary} to-merge)
(path {:keys [codex labels primary] :as _build-graph} path)
Given a build graph and a path comprised of a sequence of labels. Starting at the primary node, traverse edges with each label in turn, and return the node at the end of the path, if it exists. Or nil otherwise
Given a build graph and a path comprised of a sequence of labels. Starting at the primary node, traverse edges with each label in turn, and return the node at the end of the path, if it exists. Or nil otherwise
(primary {:keys [primary] :as build-graph})
(self-loop? [src dest :as edge])
(set-primary! build-graph {:keys [uuid] :as entity})
(update-entity build-graph id f args)
(update-entity-value build-graph id f args)
(update-primary {:keys [primary] :as build-graph} f args)
(update-primary-value {:keys [primary] :as build-graph} f args)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close