Interface TypedEdge

Typed edge between two facts in the network graph. Direction matters for causal edges (premise → conclusion); other kinds are bidirectional and stored as a pair of edges.

interface TypedEdge {
    fromFactId: string;
    toFactId: string;
    kind: "entity" | "semantic" | "temporal" | "causal";
    weight: number;
}

Properties

fromFactId: string

Source fact ID.

toFactId: string

Target fact ID.

kind: "entity" | "semantic" | "temporal" | "causal"

Edge kind — drives μ(ℓ) multiplier in spreading activation.

weight: number

Edge weight. Composed with decay δ and μ(ℓ) at activation time.