Function alignEdgeAndMapToObject

  • Aligns an edge and maps it to an object.

    Type Parameters

    • TNode extends Attributes

    • TEdge extends Attributes

    Parameters

    • selfKey: string

      The key of the self node.

    • edge: EdgeEntry<TNode, TEdge> | [edge: string, attributes: TEdge, source: string, target: string, sourceAttributes: TNode, targetAttributes: TNode, undirected: boolean]

      The edge to align and map.

    Returns EdgeEntry<TNode, TEdge>

    The aligned and mapped edge.

Generated using TypeDoc