Tuesday, 18 July 2023

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

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

 

removeClasses.txt

@startuml

interface Interface1
interface Interface2

class Class1
class Class2

abstract class AbstractClass1
abstract class AbstractClass2

enum Enum1
enum Enum2

remove Interface2
remove Class1
remove AbstractClass1
remove Enum2

@enduml

 

Above snippet generate below diagram.



 

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment