Module wire
Expand description
Wire-edit application: translates a visual editor’s connect/disconnect
gesture into the corresponding StepRouting/StepFailure mutation on a
draft Sop. The graph is a projection; these edits write back to the
source of truth it was projected from.
Structs§
- Wire
Edit - One editor gesture.
rolepicks which routing field is mutated;portis required forSwitch(index intorouting.switch) and ignored otherwise. Accepted over RPC (sops/wire-draft) and HTTP.
Enums§
Functions§
- apply_
wire - Apply one wire edit to a draft SOP, mutating the routing field the edit’s
role maps to. Validates both endpoints first; on
Errthe SOP is unchanged. Semantics per role: