Welcome to FlowZap, the App to diagram with Speed, Clarity and Control.

13 并行流工作流

syntax-primitives

此工作流对一个节点分裂成三个并行任务的情况建模。

完整 FlowZap 代码

laneA { # Lane A
  n1: circle label:"Start 13 Parallel Flows"
  n3: rectangle label:"13 Parallel Flows step 3"
  n5: rectangle label:"13 Parallel Flows step 5"
  n7: circle label:"End 13 Parallel Flows"
  n1.handle(right) -> n3.handle(left)
  n3.handle(right) -> n7.handle(left)
  n1.handle(right) -> laneB.n4.handle(left)
  n1.handle(right) -> n5.handle(left)
  n5.handle(right) -> n7.handle(left)
  n1.handle(right) -> laneB.n6.handle(left)
  n1.handle(bottom) -> laneB.n2.handle(top)
}

laneB { # Lane B
  n2: rectangle label:"13 Parallel Flows step 2"
  n4: rectangle label:"13 Parallel Flows step 4"
  n6: rectangle label:"13 Parallel Flows step 6"
  n2.handle(right) -> laneA.n7.handle(left)
  n6.handle(right) -> laneA.n7.handle(bottom)
  n4.handle(right) -> laneA.n7.handle(bottom)
}

相关模板