featherbit UI
    Preparing search index...

    Function supernodePortSpec

    • Derives the port spec a supernode INSTANCE exposes from its definition's output and error boundary nodes — the UI mirror of the id↔port mapping in src/graph/expand.rs::port_for_output_boundary / port_for_error_boundary: the boundary with id output is the success port; any other type: output boundary is a named outcome port; each type: error boundary is its own error-kind port (error is the default/black-box port when present; any other id is a named error exit) — all optional wiring. Returns undefined when the definition is unresolved so callers fall back to the default success+error pair, matching today's dangling-ref render.

      Parameters

      • def: Supernode | undefined

        Resolved supernode definition, or undefined for a dangling config.name reference.

      Returns PortSpec | undefined