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 {
}
[click to the image to see on PlantUML server]
Regards,
Th.