Coral 0.2.17 candidate API
    Preparing search index...

    Interface CompatibilityEdgeData

    Extended edge data for compatibility-aware edges

    interface CompatibilityEdgeData {
        compatibilityStatus?: EdgeCompatibilityStatus;
        escape029?: { source?: Position; target?: Position };
        forceShowTooltip?: boolean;
        label?: string;
        lineStyle?: "solid" | "dashed" | "dotted";
        markerNamespace028?: string;
        onWaypointAdd?: (edgeId: string, position: Position) => void;
        onWaypointDrag?: (
            edgeId: string,
            waypointId: string,
            position: Position,
            epoch?: number,
        ) => void;
        onWaypointDragCancel?: (
            edgeId: string,
            waypointId: string,
            epoch?: number,
        ) => void;
        onWaypointDragEnd?: (
            edgeId: string,
            waypointId: string,
            position: Position,
            epoch?: number,
        ) => void;
        onWaypointDragStart?: (
            edgeId: string,
            waypointId: string,
            position: Position,
        ) => number | void;
        onWaypointRemove?: (edgeId: string, waypointId: string) => void;
        renderFont028?: ResolvedFont;
        renderStyle028?: RenderStyle028;
        renderTheme028?: "light" | "dark";
        requiresWaypointDragEpoch?: boolean;
        sceneParts028?: readonly ScenePartRecord028[];
        sceneShift028?: { x: number; y: number };
        sceneTransient028?: boolean;
        sourceEndpoint?: ResolvedEndpoint;
        sourceLabel?: string;
        targetEndpoint?: ResolvedEndpoint;
        targetLabel?: string;
        validation?: ConnectionValidation;
        waypointGestureEpoch?: number;
        waypoints?: WaypointHandleData[];
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Custom properties

    Index
    compatibilityStatus?: EdgeCompatibilityStatus

    Compatibility status

    escape029?: { source?: Position; target?: Position }

    Escape of an interior-anchored port: offset from the handle (the attachment) to the interior point, drawn as the first or last connector segment.

    forceShowTooltip?: boolean

    Force tooltip to be visible (e.g. when hovering a diagnostics log entry)

    label?: string

    Edge label

    lineStyle?: "solid" | "dashed" | "dotted"
    markerNamespace028?: string

    Stable DOM scope shared with this canvas's marker definitions.

    onWaypointAdd?: (edgeId: string, position: Position) => void

    Callback when user double-clicks edge to add a waypoint

    onWaypointDrag?: (
        edgeId: string,
        waypointId: string,
        position: Position,
        epoch?: number,
    ) => void

    Callback when user starts dragging a waypoint

    onWaypointDragCancel?: (
        edgeId: string,
        waypointId: string,
        epoch?: number,
    ) => void
    onWaypointDragEnd?: (
        edgeId: string,
        waypointId: string,
        position: Position,
        epoch?: number,
    ) => void
    onWaypointDragStart?: (
        edgeId: string,
        waypointId: string,
        position: Position,
    ) => number | void
    onWaypointRemove?: (edgeId: string, waypointId: string) => void

    Callback when user right-clicks a waypoint to remove it

    renderFont028?: ResolvedFont
    renderStyle028?: RenderStyle028
    renderTheme028?: "light" | "dark"
    requiresWaypointDragEpoch?: boolean

    When true, an undefined start epoch refuses local pointer ownership.

    sceneParts028?: readonly ScenePartRecord028[]

    Owned shaft, marker contacts, and labels from the current scene.

    sceneShift028?: { x: number; y: number }
    sceneTransient028?: boolean

    Temporary gesture projection; the settled scene replaces it on release.

    sourceEndpoint?: ResolvedEndpoint

    Canonical endpoint semantics resolved by the shared rendering boundary.

    sourceLabel?: string

    Endpoint labels, so the edge can name its connection for a screen reader

    targetEndpoint?: ResolvedEndpoint
    targetLabel?: string

    Validation result with message

    waypointGestureEpoch?: number

    Owning editor's epoch, used to release stale local pointer capture.

    waypoints?: WaypointHandleData[]

    Waypoints for manual edge routing (CORAL-REQ-015)