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

fix hardcoded margin causing nested levels to have negative radius #4587

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

mwdchang
Copy link
Member

@mwdchang mwdchang commented Aug 27, 2024

Summary

Fixes #4578

The problem is the margin is hardcoded, which means in deeper levels the radii go negative and although they are "rendered" they do not show up.

image

Testing

Use yarn staging for this one.

Goto http://localhost:8080/projects/34e7b955-f408-4e8b-be27-9429480ad6aa/model/7508b278-caea-4d35-bb17-097bdd463f07

Verify that state-S has 5 levels

@mwdchang mwdchang merged commit d1792bb into main Aug 27, 2024
5 checks passed
@mwdchang mwdchang deleted the resolve-nested-petri-renderer-margin branch August 27, 2024 13:51
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 this pull request may close these issues.

[BUG]: Some states in a multi-stratified model are not shown correctly as circle-packed nodes
3 participants