g3-toolkit API Reference
    Preparing search index...

    Interface StructuralGeometry

    Versioned geometry document (the third integration channel: versioned JSON documents). Renderer-neutral: absolute top-left boxes; a Cytoscape consumer converts to center positions.

    interface StructuralGeometry {
        edges?: Record<string, StructuralEdgeGeometry>;
        headerHeight: number;
        nodes: Record<string, StructuralNodeGeometry>;
        ports: Record<string, StructuralPortGeometry>;
        version: 1;
    }
    Index

    Properties

    edges?: Record<string, StructuralEdgeGeometry>

    Routed edge polylines, keyed by edge id. Present when the layout ran with routeEdges (default); a renderer follows these to route around nodes. Synthetic chain edges are never included. Optional so an endpoint-only consumer can ignore it.

    headerHeight: number

    Header strip height used for every container (renderers reserve it).

    nodes: Record<string, StructuralNodeGeometry>
    ports: Record<string, StructuralPortGeometry>
    version: 1