IFClite TypeScript API
    Preparing search index...

    Interface ComposedNodeWithSources

    Extended ComposedNode with source tracking.

    interface ComposedNodeWithSources {
        attributes: Map<string, unknown>;
        attributeSources: Map<string, { layerId: string; layerName: string }>;
        children: Map<string, ComposedNode>;
        contributingLayers: Set<string>;
        inherits?: Record<string, string>;
        opinions?: AttributeOpinions;
        path: string;
    }

    Hierarchy (View Summary)

    Index
    attributes: Map<string, unknown>
    attributeSources: Map<string, { layerId: string; layerName: string }>

    Track which layer contributed each attribute

    children: Map<string, ComposedNode>
    contributingLayers: Set<string>

    All layers that contributed to this node

    inherits?: Record<string, string>

    The node's own inherits references (edge name to the inherited node's path), null removal masks dropped. Composition copies an inherited node's attributes and children INTO this node and forgets where they came from; this keeps the reference, which is what says "this node is typed by that one" or "this node is made of that material". Absent when the node inherits nothing.

    Every layer's own value per attribute key, weakest first, strongest last. Present only when composed with retainOpinions.

    path: string