Coral 0.2.17 candidate API
    Preparing search index...

    Interface CoralEdgeData

    Coral edge data passed to React Flow edges Includes index signature for React Flow v12 compatibility

    interface CoralEdgeData {
        canonical?: Omit<
            GraphEdge,
            | "id"
            | "source"
            | "target"
            | "label"
            | "type"
            | "properties"
            | "sourcePort"
            | "targetPort",
        >;
        edgeType?: string;
        label?: string;
        lineStyle?: "solid"
        | "dashed"
        | "dotted";
        properties?: Record<string, unknown>;
        routedPath?: {
            bendPoints: Position[];
            endPoint: Position;
            startPoint: Position;
        };
        routingPoints?: Position[];
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index
    canonical?: Omit<
        GraphEdge,
        | "id"
        | "source"
        | "target"
        | "label"
        | "type"
        | "properties"
        | "sourcePort"
        | "targetPort",
    >

    Canonical fields carried through the React Flow projection unchanged.

    edgeType?: string
    label?: string
    lineStyle?: "solid" | "dashed" | "dotted"
    properties?: Record<string, unknown>
    routedPath?: {
        bendPoints: Position[];
        endPoint: Position;
        startPoint: Position;
    }

    ELK-compatible routed path (bend points from edge router)

    routingPoints?: Position[]