Coral 0.2.17 candidate API
    Preparing search index...

    Interface SymbolNodeData

    Coral node data passed to React Flow nodes Includes index signature for React Flow v12 compatibility

    interface SymbolNodeData {
        authoredSemanticPorts?: readonly SemanticPortInput[];
        canonical?: Omit<
            GraphNode,
            | "id"
            | "label"
            | "description"
            | "children"
            | "type"
            | "properties"
            | "position"
            | "pinned",
        >;
        childCount?: number;
        description?: string;
        dragState?: HandleDragState;
        dragStates?: Record<string, HandleDragState>;
        fill?: string;
        height?: number;
        isGroup?: boolean;
        label: string;
        layoutDirection?: LayoutDirection;
        markerNamespace028?: string;
        nodeType: string;
        notationId?: string;
        pinned?: boolean;
        properties?: Record<string, unknown>;
        renderFont028?: ResolvedFont;
        renderStyle028?: RenderStyle028;
        renderTheme028?: "light" | "dark";
        resolvedPortAttachments?: Readonly<
            Record<string, "NORTH" | "SOUTH" | "EAST" | "WEST">,
        >;
        resolvedPortPositions?: Readonly<Record<string, number>>;
        sceneOrigin028?: { height: number; width: number; x: number; y: number };
        sceneParts028?: readonly ScenePartRecord028[];
        scenePortContacts028?: Readonly<
            Record<string, Readonly<{ x: number; y: number }>>,
        >;
        sketch?: boolean;
        stroke?: string;
        strokeWidth?: number;
        symbolId?: string;
        variant?: string;
        width?: number;
        [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown
    Index
    authoredSemanticPorts?: readonly SemanticPortInput[]

    Typed U1 view projection, pending GraphIR successor persistence. Additive to catalog ports.

    canonical?: Omit<
        GraphNode,
        | "id"
        | "label"
        | "description"
        | "children"
        | "type"
        | "properties"
        | "position"
        | "pinned",
    >

    Canonical fields carried through the React Flow projection unchanged.

    childCount?: number
    description?: string
    dragState?: HandleDragState

    Live state of a connection gesture relative to this node, so its handles can show whether dropping here would be accepted (R-016).

    dragStates?: Record<string, HandleDragState>

    Live compatibility keyed by the concrete React Flow handle id.

    fill?: string

    Override fill color

    height?: number

    Node height

    isGroup?: boolean
    label: string
    layoutDirection?: LayoutDirection

    Flow direction used only when deriving a view attachment without a routed result.

    markerNamespace028?: string
    nodeType: string
    notationId?: string

    Diagram profile used by the shared symbol resolver.

    pinned?: boolean

    Whether automatic layout and dragging must preserve this node's position.

    properties?: Record<string, unknown>
    renderFont028?: ResolvedFont
    renderStyle028?: RenderStyle028
    renderTheme028?: "light" | "dark"
    resolvedPortAttachments?: Readonly<
        Record<string, "NORTH" | "SOUTH" | "EAST" | "WEST">,
    >

    Derived layout attachment sides; never authored or persisted port pins.

    resolvedPortPositions?: Readonly<Record<string, number>>

    Derived normalized positions on those sides, needed for corner hints.

    sceneOrigin028?: { height: number; width: number; x: number; y: number }
    sceneParts028?: readonly ScenePartRecord028[]

    Owned drawing parts from the current resolved scene; handles remain interactive.

    scenePortContacts028?: Readonly<
        Record<string, Readonly<{ x: number; y: number }>>,
    >

    Routed semantic port contacts from the prepared scene, in viewport coordinates.

    sketch?: boolean

    Enable hand-drawn sketch rendering

    stroke?: string

    Override stroke color

    strokeWidth?: number

    Override stroke width

    symbolId?: string

    Symbol ID (e.g., 'flowchart-process', 'arch-service')

    variant?: string

    Variant ID (e.g., 'start', 'end')

    width?: number

    Node width