g3-toolkit API Reference
    Preparing search index...

    Type Alias NodeShape

    NodeShape:
        | "rectangle"
        | "round-rectangle"
        | "ellipse"
        | "diamond"
        | "hexagon"
        | "triangle"
        | "pill"

    VisualAttributes (G3L:ARC-002): the renderer-neutral, flat visual description of one element, the OUTPUT contract of style resolution. Renderer adapters consume this and own only drawing and hit testing; nothing here names SVG, Canvas, Cytoscape, or the DOM.

    Field groups:

    • box/shaft basics (fill, stroke, width, dash, opacity, shape, icon)
    • labels (text, color, size, visibility: the LOD hook, G3L:LBL-003)
    • decoration primitives (glyphs, halo, donut, pulse: G3L:NOD-007, compositional attributes, never custom node types)
    • edge direction encodings (arrowheads INCLUDING the UML set, tapered width, source-to-target gradient: G3L:STY-008)
    • lodTier (which detail tier an adapter should draw, G3L:STY-010/011)

    Invalidation granularity (G3L:STY-004) is per TOP-LEVEL key of this interface: rule outputs declare these keys. Nested-path outputs (e.g. one glyph slot) are a documented later refinement; v1 treats each decoration list as one key.