Is it possible to remove diamond merge node from repeat?

0 votes
asked Sep 28, 2021 in Question / help by Daniel15 (140 points)

@startuml
if (some condition) then (yes)
  :first thing;
  repeat
    :poll web service;
  repeat while (more data?) is (yes)
else (no)
  :the other thing;
endif
:finalize;
@enduml

Produces a diagram with two diamond merge nodes in it:


From the comments on https://forum.plantuml.net/4015/its-possible-to-draw-if-else-endif-without-merge-symbol, I saw that we can use skinparam ConditionEndStyle hline to render the end of the conditional without a diamond:

Is there a way to remove the other diamond? For example, the arrow could merge into the arrow going from "first thing" to "poll web service", something like this mockup I created:

or perhaps with an arrowhead, to be consistent with how the end of the condition handles it:

2 Answers

0 votes
answered Jul 31, 2023 by mert
hi man,have you ever find a solution for this? ive been searching this for 3 days
0 votes
answered Jul 31, 2023 by egr

Daniel15:

Tray this:

@startuml
if (some condition) then (yes)
  :first thing;
  repeat :poll web service;
  repeat while (more data?) is (yes)
else (no)
  :the other thing;
endif
:finalize;
@enduml

Regards

...