loom.label

(source)
Graph label protocol and implementations for records from loom.graph

For more info about this library see:

https://cljdoc.org/d/aysylu/loom/1.0.2/doc/readme
Public Variable Short Description
LabeledGraph (clj)
add-label (clj) Add a label to node or edge.
add-labeled-edges (clj) Adds edges and respective labels to graph g: (add-labeled-edges [n1 n2] "label 1" [n2 n3] "label 2").
add-labeled-nodes (clj) Adds nodes and respective labels to graph g: (add-labeled-nodes n1 "n1 label" n2 "n2 label").
label (clj) Return the label on a node or edge.
labeled? (clj) Returns true if g satisfies LabeledGraph.
remove-label (clj) Remove a label from a node or edge.