Skip to main content
An Edge is a directed relationship between two cells. Edges model connections like “see also”, “follow-up”, “derived from”, or any custom relationship type you define.

Edge structure

Key components:
  • From / To — Packed coordinates of the source and target cells
  • RelationType — String describing the relationship (e.g., “see-also”, “follow-up”)
  • Weight — Optional float for ranking or importance
  • Provenance — Source information and confidence

Edge vs Seam

Edges model general-purpose relationships:
  • “See also” references
  • Conversation flow (follow-up)
  • Derivation chains
  • Custom application-specific links
Seams model contradiction and evolution:
  • Conflicts between facts
  • Preference supersession
  • Audit trails for changes
Edges and seams are distinct storage families. The Cell.Edges and seam lists in the API are read aggregates, not denormalized primary storage.

Creating edges

Use the helper LinkCells for common cases:
For full control, use PutEdge:

Retrieving edges

Get a specific edge:
Iterate all outbound edges from a cell:

Common relation types

While you can define any relation type string, common patterns include:

Edge weights

Weights are optional floats that can represent:
  • Relevance or importance
  • Strength of relationship
  • Ranking score for traversal
Use weights in your application logic to prioritize which edges to follow during graph traversal or context assembly.

Deleting edges

To remove an edge, delete it directly:
When a cell is deleted via DeleteCell, all outbound edges are automatically removed.

See also

  • Cells — Core data units
  • Seams — Contradiction and supersession markers
  • Coordinates — Hexagonal addressing system