@joint/react
    Preparing search index...

    Interface ConnectionStrategyParams

    Context handed to a ConnectionStrategy customize callback after a link end is dropped. Describes where the end landed (cell, magnet, drop point) so the callback can return the final end definition.

    interface ConnectionStrategyParams {
        dropPoint: PlainPoint;
        end: EndJSON;
        endType: LinkEnd;
        graph: Graph;
        link: Link;
        magnet: Element;
        model: Cell;
        paper: Paper;
    }
    Index

    Properties

    dropPoint: PlainPoint

    Paper-space point where the end was dropped.

    end: EndJSON

    The end definition to return, pre-filled by the selected pin mode (or the dropped end when pinning is off).

    endType: LinkEnd

    Which end was dropped: 'source' or 'target'.

    graph: Graph

    The graph the link belongs to.

    link: Link

    The link being reconnected.

    magnet: Element

    The magnet element the end was dropped on.

    model: Cell

    The cell the end was dropped on.

    paper: Paper

    The paper the link is drawn on.