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

Symmetrical wayline-based transition path using asymmetric corner radii by default #43

Open
Phrogz opened this issue Mar 12, 2023 · 1 comment
Labels
bug Something isn't working easy less than 4 hours of work medium-value Solving this provides some value

Comments

@Phrogz
Copy link
Owner

Phrogz commented Mar 12, 2023

  1. Load this snippet of SCXML:
<state id="A1" viz:xywh="0 0 120 50"/>
<state id="A2" viz:xywh="0 80 120 50">
	<transition event="outside" target="A1" viz:pts="X-35 Y15"/>
</state>

EXPECTED: radii for the two rounded corners are calculated to be the same
ACTUAL:
image

WORKAROUND: Manually lower the r attribute for the transition until they're forced to be equal (but tight).

@Phrogz Phrogz added bug Something isn't working easy less than 4 hours of work medium-value Solving this provides some value labels Mar 12, 2023
@Phrogz
Copy link
Owner Author

Phrogz commented Mar 12, 2023

This would be low-value, but I consider the automatic, attractive presentation of transition routing to be an important feature of the visualization. I find this decidedly unattractive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working easy less than 4 hours of work medium-value Solving this provides some value
Projects
None yet
Development

No branches or pull requests

1 participant