Hi,- I'm using planttext editor, cant seem to find which version it is using.Do you have suggestions for any other editor ?
-
@startuml allow_mixing title General class A class B A *-- B: +parameter @enduml
You will probably be able to get the version by means of
@startuml version @enduml
Looks like that in the original diagram the '+' is replaced by the "Icon for field" of a class diagram (see https://plantuml.com/class-diagram).
I don't know if this is the intention of the UML definition / this is the intention (probably it is).
I tried also to set:
skinparam classAttributeIconSize 0
but at that moment the '+' was completely gone!
The closest I could get is (not nice):
A *-- B: '+parameter'
Strange though, is + to Icon conversion intentional ?
No, I'm not sure this is really intentional. The intention is theorically for class/object attributes. Not for labels.
It looks like a bug in that case : we are going to investigate anyway.
(--------)
Is this also supposed to happen on state diagrams? This:
@startuml [*] --> foo: -diff [*] --> bar: +diff @enduml results in a state diagram with [box]diff and [circle]diff on the transitions.