Policy whose edges use the node_id.port endpoint format.
Catalog-derived lookup used to resolve each source port's kind.
Resolved supernode definitions, used to derive a
supernode source node's actual ports via supernodePortSpec
rather than the (non-existent) catalog entry for the supernode type.
ReactFlow edges targeting each node's in handle.
Converts a gateway Policy's edges into styled ReactFlow edges.
Each
node_id.portendpoint is split withsplitEdge. A source port ofoutis normalized to thesuccesshandle (PluginNode renders noouthandle). Each edge's color/animation is driven by its source port's declared PortDecl.kind (viaportKindFor):error→ red (var(--error)) and animated,outcome→ accent (var(--accent)),success(or an unknown port/type) → green (var(--success)). Edge ids are positional (e-<index>).