Documentation
    Preparing search index...

    Type Alias GraphEdge<AnyEntity>

    A graph edge connecting two nodes.

    v0.1.0

    type GraphEdge<
        AnyEntity extends
            IGraphEntityNode<string, number, Record<string, unknown>>,
    > = {
        source: AnyEntity;
        target: AnyEntity;
    }

    Type Parameters

    • AnyEntity extends IGraphEntityNode<string, number, Record<string, unknown>>

      The type of the any nodes in the graph.

    Index

    Properties

    Properties

    source: AnyEntity
    target: AnyEntity