Observations on Common commands (title, header, footer, caption or legend) on all diagrams [V1.2020.16]

0 votes
asked Aug 31 in Bug by The-Lu (7,580 points)

Hello PlantUML Team,

Here are the result of the Common commands (title, header, footer, caption or legend) on the different diagrams, we observe:


1/ Overlap for Sequence and WBS

@startuml
header some header
footer <back:red>some footer
title My title
caption This is caption
legend
<back:red>The legend
end legend
a->b
@enduml

@startwbs
header some header
footer some footer
title My title
caption This is caption
legend
The legend
end legend
* r
** d1
** d2
@endwbs


2/ Syntax Error for gantt

@startuml
header some header
footer some footer
title My title
caption This is caption
legend
The legend
end legend
[t] lasts 5 days
@enduml

→ Link to PlantUML online server.

  • Could you allow 'header' and 'footer' for gantt diagram?

3/ java.lang.IllegalArgumentException for Salt

@startsalt
header some header
footer some footer
title My title
caption This is caption
legend
The legend
end legend
{+
  Login    | "MyName   "
  Password | "****     "
  [Cancel] | [  OK   ]
}
@endsalt

For Salt, see also:


4/ Minor question:

  • Why, for sequence diagram, the caption is above the legend unlike all the other diagrams?


Thanks for all yours improvements,
Regards,
Th.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...