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
114 stars 23 forks source link

ST6RI-756: `%viz Actions::AcceptAction::aState::aTransition` in Jupyter causes a PlantUML crash (PlantUML) #559

Closed himi closed 2 months ago

himi commented 2 months ago

This PR mainly fixes the issue that %viz Actions::AcceptAction::aState::aTransition crashes PlantUML. This is caused by inappropriate newline in name. I also refactored SendActionUsage and AcceptActionUsage rendering because they excessively used getText() and may contain cluttered text.

himi commented 2 months ago

By this fix, %viz Actions::AcceptAction::aState::aTransition outputs: Screenshot 2024-04-13 at 4 20 50 AM

himi commented 2 months ago

We should update Send/AcceptActionUsage notations to align with the update of the Graphical Specification (standard compartment notation) but it requires some modifications of PlantUML and additions to icons. So I will defer it.