Stylesheets in PlantUML, for class diagrams ?

0 votes
asked Feb 7, 2014 in Wanted features by rmric (2,140 points)

Hi,

After component and sequence diagrams, let's face the class diagram. That would be nice to have style sheet support through stereotypes here too.

Stereotypes do work in class diagram, but sometimes the place is already taken by other constructs.

Looking at class package style, it seems possible to have various containers. However, it's cumbersome to use stereotypes for that, especially when they may be used for another purpose (semantic, style sheet, ..). Could it be possible to have new keywords in class diagrams, freeing the stereotype usage?

package foo1 <<Node>>
node foo1
package foo2 <<Rect>>
rectangle foo2
package foo3 <<Folder>>
folder foo3
package foo4 <<Frame>>
frame foo4
package foo5 <<Cloud>>
cloud foo5
package foo6 <<Database>>
database foo6

The keywords storage, artifact, component might be welcome too.

 

I've noticed in class diagram that a package cannot be empty. For example:

@startuml

class ForceClassDiagram

package MyEmptyPackage

@enduml

 

Best Regards

related to an answer for: Stylesheets in PlantUML?

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.
...