05 多泳道工作流
syntax-primitives
此工作流模拟三个泳道并带有跨泳道通信。
完整 FlowZap 代码
laneA { # Lane A
n1: circle label:"Start 05 Multiple Lanes"
n4: rectangle label:"05 Multiple Lanes step 4"
n1.handle(bottom) -> laneB.n2.handle(top)
n4.handle(bottom) -> laneB.n5.handle(top)
}
laneB { # Lane B
n2: rectangle label:"05 Multiple Lanes step 2"
n5: circle label:"End 05 Multiple Lanes"
n2.handle(bottom) -> laneC.n3.handle(top)
}
laneC { # Lane C
n3: rectangle label:"05 Multiple Lanes step 3"
n3.handle(bottom) -> laneA.n4.handle(top)
}