pivotick - v1.5.0
    Preparing search index...

    Type Alias EdgeCreateDecision

    EdgeCreateDecision:
        | boolean
        | {
            accept: boolean;
            data?: EdgeData;
            directed?: boolean
            | null;
            id?: string;
            style?: PartialEdgeFullStyle;
        }

    The decision returned by InterractionCallbacks.onBeforeEdgeCreate.

    true accepts with defaults, false vetoes. The object form accepts (when accept is true) and lets the consumer supply the new edge's data/style/id/ direction. The data/style/id/directed fields apply to edges only and are ignored for note-links.