Systems-Modeling / SysML-v2-Pilot-Implementation

Proof-of-concept pilot implementation of the SysML v2 textual notation and visualization
GNU Lesser General Public License v3.0
128 stars 24 forks source link

ST6RI-601: Specialization relationships are not rendered properly with SHOWINHERITED style (PlantUML) #404

Closed himi closed 2 years ago

himi commented 2 years ago

In SHOWINHERITED style, inherited elements can be multiple and we cannot identify sources only with a element. So I used node id to identify a source.

himi commented 2 years ago

By this fix, with SHOWINHERITED style

package TestInherit {
    part def Vehicle {
        part engine : Engine;
    }
    part def Engine;

    part vehicle1 : Vehicle;
}

is rendered as: Screen Shot 2022-09-29 at 9 32 25 PM