TestProgramEdge
A wire: when the run leaves block from through exit port, it goes on to block to.
fromis a Condition block: an Action block has no exits (graph.schema,reason: invalid_port).portis one offrom's case ids, orelsewhenfromhashasElse: true.tois any other block. Several wires may leave the same exit (all are followed), and several may come into the same block (it still runs once).- The same
from+port+totwice is refused (reason: duplicate_edge), and so are wires that make a loop (graph.cycle).
idstringrequired
Example:
e1fromstringrequired
The Condition block the wire leaves.
Example:
c_euportstringrequired
The case id the wire leaves from, or else.
Example:
c_eu_yestostringrequired
The block the wire goes into.
Example:
a_euTestProgramEdge
{
"id": "e1",
"from": "c_eu",
"port": "c_eu_yes",
"to": "a_eu"
}