Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

State Diagram Export Problem #221

Open
juanvaccarezza opened this issue Jan 9, 2023 · 5 comments · May be fixed by #227
Open

State Diagram Export Problem #221

juanvaccarezza opened this issue Jan 9, 2023 · 5 comments · May be fixed by #227
Assignees

Comments

@juanvaccarezza
Copy link

Hi!
While exporting State Machine Diagrams several problems are detected on transitions:

Image inside capella:
MSM  test
Image on jupyter:
Screenshot 2023-01-09 180609

Problem 2:
Image inside capella:
MSM  test2
Image on jupyter:
Screenshot 2023-01-09 180850

Best Regards,
Juan

@ewuerger ewuerger self-assigned this Jan 16, 2023
@ewuerger ewuerger linked a pull request Jan 16, 2023 that will close this issue
@ewuerger
Copy link
Member

ewuerger commented Jan 16, 2023

Hi juanvaccarezza,

I worked on your issue and got to this state:
Capella:
image

generated SVG:
image

The rounded corners aren't easy to fix since 2 individual boxes are rendered. Further more pixel perfect routing (start + end points of transitions) are hard to calculate. We don't get all data from the .aird files. Please let me know if this is enough for you to work with.

Greetings

@juanvaccarezza
Copy link
Author

juanvaccarezza commented Jan 16, 2023 via email

@ewuerger
Copy link
Member

Hi Juan,
sorry for replying so late. The label is taken directly form the name attribute of the diagram element in the .aird file. Capella takes the text from the trigger expression. On a StateTransition you don't just have a description. Checkout what attributes are available for it here.

Cheers

@juanvaccarezza
Copy link
Author

juanvaccarezza commented Jan 18, 2023 via email

@Wuestengecko Wuestengecko linked a pull request Jan 19, 2023 that will close this issue
@ewuerger
Copy link
Member

The Trigger description isn't rendered in the label of the StateTransition in the diagram as Capella isn't doing that either. I hope that diminishes any leftover ambiguity.

Cheers

@ewuerger ewuerger reopened this Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants