Removing the warning banner from output images

0 votes
asked Apr 8 in Question / help by rohel (160 points)
edited Apr 9 by rohel

Hello,

I am generating a bunch of plantuml diagrams via the CLI.

Since some legacy diagrams use obsolete syntax, I get the following banner on them:

The syntax using the > character is now obsolete.Please use the <<output>> stereotype instead.For more details, visit https://plantuml.com/activity-diagram-beta
The syntax using the } character is now obsolete.Please use the <<continuous>> stereotype instead.For more details, visit https://plantuml.com/activity-diagram-beta

Is it possible to silence this so I can still use the images as is?

2 Answers

0 votes
answered Apr 9 by plantuml (296,240 points)
Could you give us the text of this banner? Thanks!
commented Apr 9 by rohel (160 points)
Added it in text format.

Apparently, attaching screenshot images fails
0 votes
answered Apr 9 by plantuml (296,240 points)

Is it possible to silence this so I can still use the images as is?

At the moment, it's not possible to silence this behavior. However, we might consider adding an option for it in the future.

In the meantime, would you be open to migrating to the new syntax?

@startuml
start
:output; <<output>>
:continuous; <<continuous>>
@enduml

The legacy syntax will eventually be deprecated.

Also, do you have a large number of diagrams? That context could help us better understand the impact

commented Apr 9 by rohel (160 points)
I have 25 diagrams.

I am using activity diagrams to model SW test procedures so we can review them using standard git pull/merge requests. As the reviews are on-going, changing the syntax will introduce way too much noise right now.

I also find the new syntax quite verbose. When migrating, I think I might introduce some macros to hide it from users point of view. For example, I use ":Test a value}" to denote a check step. So a procedure like below should do the trick

!procedure $check($arg)
: $arg; <<continuous>>
!endprocedure
...