g3-toolkit API Reference
    Preparing search index...

    Interface VisualAttributes

    interface VisualAttributes {
        arrowSource?: ArrowKind;
        arrowTarget?: ArrowKind;
        donut?: readonly DonutSegment[];
        fill?: string;
        glyphs?: readonly Glyph[];
        gradient?: EdgeGradient;
        halo?: Halo;
        icon?: string;
        labelColor?: string;
        labelHalo?: { color: string; width: number };
        labelSize?: number;
        labelText?: string;
        labelVisible?: boolean;
        lodTier?: number;
        opacity?: number;
        pulse?: boolean;
        shape?: NodeShape;
        stroke?: string;
        strokeDash?: readonly number[];
        strokeWidth?: number;
        taper?: boolean;
    }
    Index

    Properties

    arrowSource?: ArrowKind
    arrowTarget?: ArrowKind
    donut?: readonly DonutSegment[]
    fill?: string
    glyphs?: readonly Glyph[]
    gradient?: EdgeGradient
    halo?: Halo
    icon?: string

    Icon reference into the registered icon set (G3L:NOD-003).

    labelColor?: string
    labelHalo?: { color: string; width: number }

    Halo/outline behind label text (G3L:LBL-002); renderers express it natively (SVG paint-order stroke, Cytoscape text-outline, SDF distance band).

    labelSize?: number
    labelText?: string
    labelVisible?: boolean
    lodTier?: number
    opacity?: number
    pulse?: boolean
    shape?: NodeShape
    stroke?: string
    strokeDash?: readonly number[]

    Dash pattern in model units; undefined = solid.

    strokeWidth?: number
    taper?: boolean

    Tapered width: wide at source, narrow at target (the Holten/van Wijk-preferred direction encoding).