Monday, 17 July 2023

PlantUML: hide classes, interfaces, enums in a class diagram

‘hide entityName’ command hide the classes, interface, enums in a class diagram.

 

hideClasses.txt

@startuml

interface Interface1
interface Interface2

class Class1
class Class2

abstract class AbstractClass1
abstract class AbstractClass2

enum Enum1
enum Enum2

hide Interface2
hide Class1
hide AbstractClass1
hide Enum2

@enduml

 

Above snippet generate below diagram.

 


 

Previous                                                    Next                                                    Home

No comments:

Post a Comment