footprintjs - v11.2.0
    Preparing search index...

    Interface StructureSubflowMountedEvent

    Event payload for StructureRecorder.onSubflowMounted. Fires once per subflow mount (addSubFlowChart / addSubFlowChartNext and their lazy variants).

    MOUNT-ONLY semantics — the subflow's OWN structure events (every onStageAdded / onEdgeAdded inside the subflow) fired during the subflow's own .build(), before the mount. Parent recorders do NOT receive a replay. Instead, this event delivers the subflow's full structure via subflowSpec, and consumers can walk it via walkSubflowSpec from footprintjs/trace.

    This matches FlowRecorder.onSubflowEntry semantics at runtime (parents see the boundary, not a replay of internals) and preserves the "one purpose per recorder" convention.

    interface StructureSubflowMountedEvent {
        isLazy?: boolean;
        rootStageId: string;
        subflowId: string;
        subflowName: string;
        subflowPath: string;
        subflowSpec?: SerializedPipelineStructure;
    }
    Index
    isLazy?: boolean

    True when the mount uses lazy resolution (deferred subflow resolution until execution).

    rootStageId: string

    Mount node id in the parent's chart.

    subflowId: string

    Subflow identifier the parent assigned at mount.

    subflowName: string

    Human-readable subflow name.

    subflowPath: string

    Local mount id of this subflow within its parent — always equal to subflowId (e.g. 'auth'). A mount never replays its subflow's own events, so a recorder never sees a composed path such as 'auth/verify'. NEVER prefixed with __root__/.

    The mounted subflow's complete spec — the SAME OBJECT (=== reference equality) reachable via subflow.buildTimeStructure for the FlowChart the consumer passed to addSubFlowChartBranch / addSubFlowChart / addSubFlowChartNext.

    UNDEFINED for lazy mounts at build time (isLazy: true) — the subflow's structure hasn't been resolved yet. Consumers waiting on lazy subflows handle the runtime onSubflowEntry event instead.

    Immutable post-build; consumers MUST NOT mutate.

    SerializedPipelineStructure is exported from footprintjs/advanced; walkSubflowSpec from footprintjs/trace walks it.