Coral 0.2.17 candidate API
    Preparing search index...

    Interface NodeSizingOptions

    Options for computing node size

    interface NodeSizingOptions {
        captionWrapWidth?: number;
        fontFamily?: string;
        fontSize?: number;
        fontWeight?: string | number;
        glyphSize?: { height: number; width: number };
        layoutDirection?: "UP" | "DOWN" | "LEFT" | "RIGHT";
        lineHeight?: number;
        minHeight?: number;
        minWidth?: number;
        notationId?: string;
        shapeId: string;
        sizingMode: SizingMode;
        symbolId?: string;
        text: string;
        uniformSizes?: Map<string, { height: number; width: number }>;
    }

    Hierarchy (View Summary)

    Index
    captionWrapWidth?: number

    Optional caption wrap width override for captioned stencils (REQ-B1 / ISC-2).

    fontFamily?: string
    fontSize?: number
    fontWeight?: string | number
    glyphSize?: { height: number; width: number }

    Optional independent glyph box for captioned stencils (REQ-B1 / ISC-5).

    layoutDirection?: "UP" | "DOWN" | "LEFT" | "RIGHT"

    Optional layout flow direction (DOWN/UP places outside icon captions to the right).

    lineHeight?: number
    minHeight?: number
    minWidth?: number
    notationId?: string

    Optional diagram notation ID for notation-aware caption sizing (DRQ-10 Option 2).

    shapeId: string
    sizingMode: SizingMode
    symbolId?: string

    Optional semantic symbol ID for notation-aware caption sizing (DRQ-10 Option 2).

    text: string
    uniformSizes?: Map<string, { height: number; width: number }>