Liking cljdoc? Tell your friends :D

fabrikk.build-graph.core


(add-link {:keys [primary] :as build-graph} link {:keys [uuid] :as entity})

assert-nodeclj/s

(assert-node {:keys [codex] :as _bg} {:keys [uuid] :as _entity})

associateclj/s

(associate {:keys [primary] :as build-graph}
           link
           {associated-primary :primary :as associated-build-graph})

ensure-nodeclj/s

(ensure-node {:keys [codex] :as build-graph} {:keys [uuid] :as entity})

entities-in-build-orderclj/s

(entities-in-build-order {:keys [codex primary] :as build-graph})

entityclj/s

(entity build-graph id)

(in-edges-with-links {:keys [labels] :as _bg} node)

initclj/s

(init)
(init entity)

(link-entities build-graph
               entity-id
               [_label _associate :as link]
               other-entity-id)

merge-buildsclj/s

(merge-builds {:keys [labels codex] :as primary} to-merge)

not-self-loop?clj/s


pathclj/s

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

primaryclj/s

(primary {:keys [primary] :as build-graph})

self-loop?clj/s

(self-loop? [src dest :as edge])

set-primary!clj/s

(set-primary! build-graph {:keys [uuid] :as entity})

update-entityclj/s

(update-entity build-graph id f args)

update-entity-valueclj/s

(update-entity-value build-graph id f args)

update-primaryclj/s

(update-primary {:keys [primary] :as build-graph} f args)

update-primary-valueclj/s

(update-primary-value {:keys [primary] :as build-graph} f args)

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

× close