0

Particularly interested on the merge right after the decision. Can you have this?

enter image description here

Mac
  • 123
  • 4
  • Are you trying to generate code with this? What does your tool say? 'UML as a sketch' doesn't have to be 'legal' to be useful. I don't see any definition of `num`, however. Did you mean `maximum` on the condition? – Fuhrmanator Nov 03 '17 at 03:01

1 Answers1

0

Yes, that's legal, however:

  1. You can combine merge and decision here into a single diamond (that's also legal and more elegant),
  2. You can use loop here instead of your construct (that's even better in your specific example, however not necessarily answers your question).
Ister
  • 5,958
  • 17
  • 26