Error if not at least a newline in component, node, cloud, ... [deployement]

0 votes
asked May 14, 2020 in Bug by The-Lu (65,440 points)

Hello PlantUML,

From this defect:

and this remark:

Plantuml marks these empty items as an error when there is not at least a new line.
I have only tried for class diagram items, unsure if same applies to other items.

We observe the same defect on deployement-diagram:

All of the below fail:

component component {}
node node {}
cloud cloud {}

Whereas all of the following are valid:

component component {
node node {
cloud cloud {

PlantUML diagram
[click to the image to see on PlantUML server]


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.