Why the decision node in plantuml for activity diagrams does not look like the one in the doc

0 votes
asked Mar 15, 2018 in Question / help by Manuel

The activity diagram reference that is available here (I do not know if it is the official reference thought) shows decision node quite differently than the shape provided in plantuml.

I would like to know the reason of this difference and if somebody know how/if it can have consequences when exchanging diagram after having them exported in xmi.

Side question, is this possible to have additive comment with dashed line like "the Decision node with decision input behavior of the same documentation.

Thanks in advance for your explanations.

1 Answer

0 votes
answered Mar 15, 2018 by plantuml (295,000 points)

About point #1, you can use "skinparam conditionStyle inside" like in the following example:

@startuml
skinparam conditionStyle inside
start
while (ITERATE)
  if (revision code?) then ([no])
    :action;
    if (test) then (yes)
    else
    endif
  else
  endif
endwhile
end
@enduml

commented Mar 16, 2018 by anonymous

Dear Plantuml,

The decision node and the merge node are the same in the reference documentation provided in the link of my question. For the diagram you provided, according to my understanding of the doc, the nodes should look like in the image below:

With my question I wanted to know the reasons for the differences between the two graphical choices.

Then I wanted to know the consequences (if any) with the compatibility for exported diagrams.

...