Remove class when skinparam groupInheritance is used

0 votes
asked Mar 4 in Bug by dawosh (120 points)
The following cod eraises an illegal argument exception:

```

@startuml
skinparam groupInheritance 2

package P {
    interface Foo
    class Bar implements Foo
    class Baz implements Foo

    remove Bar
}
@enduml

```

Commenting the line `skinparam groupInheritance 2` works as expected, but of course, inheritance arrows aren't grouped anymore.

1 Answer

0 votes
answered Mar 12 by dickmaley (4,120 points)

I believe this fixes it.

image

@startuml
skinparam groupInheritance 2
package P {
    interface Foo
    class Baz implements Foo
    class Bar implements Foo {
        hide
    }
}
@enduml

...