How do I get rid of the (C) in classes?

0 votes
asked Sep 24, 2013 in To be sorted by anonymous
UML does not actually specifiy that there should be a huge circle with a "C" or "I" or whatever in the class title area, it instead calls for the class name in that area.  The huge circle with a "C" in all the classes entails a smaller font size than necessary, which in turn makes them unreadable on larger diagrams and reduces plantUML's scalability.  It is also unattractive, redundant, and inapplicable to many UML class diagrams.  Is there a way to get rid of the (C) and use that valuable space for larger class names?

1 Answer

0 votes
answered Sep 24, 2013 by plantuml (295,000 points)

You can use the "hide circle" command (see http://plantuml.sourceforge.net/classes.html#Hide )

Example:

@startuml
hide circle
class foo
@enduml

Hope it helps!

commented May 12, 2017 by mawi (620 points)
edited May 13, 2017 by mawi
If you use a folder setting in the startuml statement, you need an extra cr lf between that line and the hide line, this works:

@startuml ..\

hide circle
class ShoppingBag
@enduml
...