Edges

An Edge is a directed relationship between two nodes. Edges turn separate ideas into a knowledge graph and help EulerVertex distinguish required knowledge from useful context.

Edge types

  • def_dependency — a precise dependency required to understand the terminology in the source node's definition. Use it when the reader cannot understand the definition without the target idea.
  • prep_hint — helpful background that makes the source node easier to learn but is not strictly required. It is guidance, not a blocker.
  • context_variant — a connection between nodes representing closely corresponding ideas in different contexts. It is not a prerequisite relationship, even though the edge has a stored direction.

The first two types form the prerequisite family. Keeping them separate lets learning tools treat hard requirements differently from recommendations.

Choosing a prerequisite edge

Ask whether a reader who has not seen the target idea can still understand the source node's definition:

  • If no, use def_dependency.
  • If yes, but the background would help, use prep_hint.

Keep the hard dependency set minimal. Material needed only for a proof, example, or advanced discussion should not automatically become a definition dependency for the node itself.

Edge weights from textbook order

Prerequisite edges also carry evidence from how real material is taught. Each source path records the order in which a textbook or set of notes introduces nodes. For every def_dependency and prep_hint edge, EulerVertex counts how many sources teach the prerequisite first (support) and how many teach it afterwards (conflict). The edge's weight is the share of sources that agree, smoothed so that a single source is never decisive.

Weights never add or remove edges. An edge most sources contradict is flagged for review, and a pair that many sources teach in the same order, with no edge between them, becomes a proposal for an editor to judge.

Edges are not facet attachments

An edge relates node identities in the knowledge graph. A facet attachment says that a particular explanation, proof, or example belongs with a node. Both are relationships, but they serve different purposes and should not be used interchangeably.

PreviousNext