A class draw more than once

0 votes
asked Oct 16, 2020 in Question / help by Canellas (170 points)
Is it possible to draw a class rectangle more than once? Sometimes a class has too many relationships, and it would be nice to have some connected to a rectangle, a some to another.

Thanks!

1 Answer

0 votes
answered Oct 19, 2020 by albert (3,520 points)

When I understand the question correctly you would like to have something like (probably more sophisticated than the small example):

@startuml
class "Class01" as C1
class "Class01" as C2
C1 <|-- Class02
C2 *-- Class04
@enduml

commented Oct 19, 2020 by The-Lu (63,920 points)

Hello,

For more viewing; Here is the corresponding diagram image:


[See on PlantUML online server]

Regards,
Th.

...