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.
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
outputis thesuccessport; any othertype: outputboundary is a named outcome port; eachtype: errorboundary is its own error-kind port (erroris 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.