Skip to main content

Module edge_view

Module edge_view 

Source
Expand description

Relationships as a person reads them.

A stored Relationship names its endpoints by record id and reports one number. Neither is what a human needs to decide whether the memory is right: they need the two entity names, and they need to know whether the number rests on thirty independent observations or on the agent having said the same thing thirty times.

EdgeView is that shape, and it is shared by both human-facing surfaces — correction (super::correct) and inspection (super::inspect) — so the two never disagree about how an edge reads.

Structs§

EdgeView
One relationship, with its endpoints resolved and its evidence exposed.
NameCache
Resolves record ids to entity names, once per id.

Functions§

all_edges_of
Every relationship of an entity, superseded ones included.
live_edges_between
Live relationships between two entities, in either direction.
live_edges_of
Every relationship of an entity that has not been superseded.
record_id
The record id of a stored link, as a string.
views
Render relationships for a human, sharing one name cache.