flow-chart">

How to create a flow chart with a return path?

0 votes
asked May 25, 2023 in Question / help by J.B

Hello!

I want to create a flow chart with PlantUML, which looks like this:
flow chart
How can a create such a flow chart, where a path returns to an upper element?

Thanks for your help!

Best regards,
J.B.

commented Jul 28, 2023 by EGR

J.B.

One way is using repeat / while cycle and connectors:

@startuml
start
:A;
repeat 
  if (B) then (yes) 
    :D;
    :E;
  else
    if (C) then (yes)
      (A)
      detach
    end if
  end if
repeat while (condition)
(A)
stop
@enduml

Regards

1 Answer

0 votes
answered Jul 28, 2023 by J.B.
Any ideas or is it not possible?

Thanks for your reply!
...