Skip to main content

Module relation

Module relation 

Source
Expand description

Relations — the configurable vocabulary of links declared in metadata.

prov is opinionated about the mechanism (links live in embedded metadata; one relation is the canonical tree; the rest overlay it) but not about the vocabulary. A RelationSet names which fields are links, their cardinality, their inverse, and which single relation is spanning.

Structs§

Edge
A resolved link found in a document’s metadata: which relation declared it and the raw (unresolved) target string.
Relation
A single named relation: the frontmatter key it reads, its inverse (if the pair is maintained bidirectionally), and its cardinality.
RelationSet
The configured set of relations for a workspace, and which one is spanning.

Enums§

Cardinality
How many targets a relation field may hold.