g3-toolkit API Reference
    Preparing search index...

    Interface StructuralNode

    A node in the structural view: a compartmented container or a plain box.

    interface StructuralNode {
        compartments?: StructuralCompartment[];
        header?: { name: string; stereotype?: string };
        height?: number;
        id: string;
        ports?: StructuralPort[];
        width?: number;
    }
    Index

    Properties

    compartments?: StructuralCompartment[]
    header?: { name: string; stereotype?: string }

    Header line, e.g. { stereotype: "Block", name: "Sensor" }.

    height?: number
    id: string
    ports?: StructuralPort[]
    width?: number

    Plain nodes (no compartments) may fix their own size.