g3-toolkit API Reference
    Preparing search index...

    Interface NodeStyleTarget

    R-12b (round 21, 2026-08-05): the two facts the editor actually needs about its target. A structural scene carries a StructuralGraphInput rather than a UGM, so the editor could not be opened over one at all; passing a descriptor covers both callers and also lets the canvas case work on a graph the host has not loaded into a UGM.

    interface NodeStyleTarget {
        current?: NodeStyleOverride;
        id: string;
        isPie?: boolean;
        label?: string;
        type?: string;
    }
    Index

    Properties

    Existing override, so the editor opens showing current state rather than empty (the re-edit case).

    id: string
    isPie?: boolean

    True when the element renders as a multi-type pie, which forces its shape (R-8). Derived from the UGM automatically in the convenience form.

    label?: string

    Display name in the header; falls back to the id.

    type?: string

    Offered as the type scope; omit for node-scoped only.