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

Overlapping transition and composite state name label #139

Open
bencehornak opened this issue Apr 21, 2021 · 3 comments
Open

Overlapping transition and composite state name label #139

bencehornak opened this issue Apr 21, 2021 · 3 comments

Comments

@bencehornak
Copy link

Expected Behavior

I would expect no overlapping labels on the generated SVG.

Current Behavior

The transition label overlaps with the composite state's name.

Steps to Reproduce (for bugs)

Compile the attached source file with the default dot engine using the following command:

smcat -d left-right app_lifecycle_bloc.smcat

The problematic part can be seen on the left side:
app_lifecycle_bloc2

Context

Your Environment

  • Version used: 7.4.3
  • viz.js version: 1.8.2
  • Node version: 15.4.0
  • Operating System and version: macOS 11.2.3 (20D91)
  • Link to your project: attachement
@sverweij
Copy link
Owner

Hi @bencehornak thanks for your raising this issue. Under the hood state-machine-cat uses GraphViz to render the graph. It seems that we have bumped into the limits of what we can do with GraphViz, though, something that seems extra visible in nested graphs.

I do want to give alternatives a go. There aren't many out there, though - and the bandwidth I can spend on these things (even though they're really fun to do!) is a bit limited lately.

also see this note in an earlier issue

@bencehornak
Copy link
Author

Hi @sverweij, thanks for the answer and for the amazing project!

Well, I kind of thought that it might be a trickier one. I can't promise anything, but if I can manage to allocate some free time, I will try to support you this process, as I think it's a very cool library.

@github-actions
Copy link

github-actions bot commented May 4, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants