Please allow #transparent to be a synonym of #00000000 [on arrow color of activity-diagram]

0 votes
asked Jan 18, 2021 in Wanted features by The-Lu (63,920 points)

Hello PlantUML team,

  • Please allow #transparent to be a synonym of #00000000 [on arrow color of activity-diagram].
  • Perhaps on other side also, we have not checked elsewhere.
Example:
@startuml
:a;
-[#00000000]-> OK, opacity min: that is transparent;
:b;
-[#transparent]-> KO, it's white not transparent!;
:c;
@enduml
Thanks for your support,
Regards,
Th.
related to an answer for: Remove arrow to a connector
commented Jan 19, 2021 by albert (3,520 points)
Would be nice to have #transparent as well.

Currently one can define as "color" hidden, based on the request for #transparent maybe the "colors" #hidden and transparent could be supported as well.

Note: it looks like a non existing color is shown as white but without an error maybe an error should be emitted.

1 Answer

+3 votes
answered Jan 19, 2021 by plantuml (294,960 points)
selected Jan 20, 2021 by The-Lu
 
Best answer

Thanks for the report !

#transparent has been fixed in last beta http://beta.plantuml.net/plantuml.jar

Note: it looks like a non existing color is shown as white but without an error maybe an error should be emitted.

Exactly : non-existing color are shown as white, which is not very logical...

Emitting an error is ok for everyone ?

commented Jan 20, 2021 by albert (3,520 points)
I see no objection in having an error message.
commented Jan 22, 2021 by albert (3,520 points)

By chance I saw a small artefact:

@startuml
  node node1
  node node2

  node1 -[#transparent]- node2
@enduml

http://www.plantuml.com/plantuml/uml/Kr38oqz91HE6N4WS8ouepr11Drgvf2WnhxWWiIWrhoHM5o8F0000

We see the arrow running in the bottom shade of node1, and in the border of node2 (the later is, as far as I known, a dot problem).

...