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-624: Short names are not rendered (PlantUML) #434

Closed himi closed 1 year ago

himi commented 1 year ago

Due to my mistake in ST6RI-565 (PR #385), short names are not rendered. This PR fix this issue by rendering short names in every element.

himi commented 1 year ago

After this fix,

package TestShortName {
    part <'p1-Short Name'> p1;
    part <'p2 Short Name Only'>;
    action <actionA1> a1 {
        state <'State s1'> s1;
        state <stateS2>;
    }
    requirement <'Req-1'>;
    requirement <'Req-2'> req2;   
}

is rendered as: image

himi commented 1 year ago

I removed bold tags.

himi commented 1 year ago

The new result is: image