@samatawy/diagrams
    Preparing search index...

    Interface ISerializedConnectionAnchor

    Serialized representation of a connection anchor, where the 'node' property is represented by the node's identifier instead of a reference to the node object. This format is suitable for JSON serialization and deserialization.

    interface ISerializedConnectionAnchor {
        handle: NodeHandle;
        index?: number;
        relative: IPoint;
        node: string;
    }

    Hierarchy

    Index

    Properties

    handle: NodeHandle

    The handle of the node that the connection is anchored to, which indicates the specific part of the node (e.g., 'n', 's', 'e', 'w', etc.) where the connection should attach.

    index?: number

    An optional index specifying a particular point on the node's geometry to anchor to, allowing for more precise connection points beyond just the handles.

    relative: IPoint
    node: string