Taking this small example to illustrate my problem.
common.puml
@startuml common
!startsub COMMON
abstract Common {
id : uuid
}
!endsub
@enduml
myclass1.puml
@startuml myclass1
!includesub common.puml!COMMON
class MyClass1 extends Common {
text: string
}
@enduml
myclass2.puml
@startuml myclass1
!includesub common.puml!COMMON
class MyClass2 extends Common {
value: int
}
@enduml
all.puml
@startuml all
!include ./sub/common.puml
!include ./sub/myclass1.puml
!include ./sub/myclass2.puml
@enduml
When redering the all.puml diagram, I have a strange result in the Common part. Attributes are rendered 3 times !
Any idea ?