Weird extra lines when using extensions on class diagrams and groupInheritance

0 votes
asked Sep 22, 2023 in Bug by mamyz (160 points)
edited Sep 23, 2023 by mamyz

Hello, 

I am new to PUML (and UML in general) and have found an issue. When using groupInheritance, extensions (<|-) cause the item they are "pointing to" to partially show hidden lines. I do not know if this is a bug or intended, but decided to post it here. The issue is replicated in the example below. The connection between "A" and "B" should be invisible, but because 'A' is using `<|--` and not `<--` for other connections, a partial line going to nowhere is shown coming from it. 

Replication example: 

@startuml
A <|-- AA
A <|-- AB
A <|-- AC
A <|-- AD
B <-- BA
B <-- BB
A -[#Red,hidden]left- B 
skinparam groupInheritance 2
@enduml

ex 2 from duplicate: 

@startuml
C<|-left[hidden]->B
C<-left[hidden]-|>B
A<-left[hidden]-|>B
skinparam groupInheritance 2
@enduml

commented Sep 23, 2023 by albert (3,520 points)

When using:

@startuml
A <-- AA
A <-- AB
A <|-- AC
A <|-- AD
B <-- BA
B <-- BB
A -[#red]left- B
skinparam groupInheritance 2
@enduml

one should look at the lines between A and AA and A and AB and especially note the place of the arrow head there

commented Sep 23, 2023 by mamyz (160 points)
And also should note the coloring between A and B

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...