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