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

Custom markers get misaligned when using smart edge #31

Open
vaibhav-systango opened this issue Jun 8, 2022 · 7 comments
Open

Custom markers get misaligned when using smart edge #31

vaibhav-systango opened this issue Jun 8, 2022 · 7 comments
Labels
bug Something isn't working pinned This should not be closed by bots on inactivity
Projects

Comments

@vaibhav-systango
Copy link

@bcakmakoglu @tisoap when I use smart step edge from here:
@tisoap/react-flow-smart-edge
the custom edge markers get misaligned when i try to change the node layouts why is this happening ? do we have any solutions around this.
please see the gif shared below:
image

@sushantgulati1
Copy link

An easy workaround is to increase the nodePadding.
https://github.com/tisoap/react-flow-smart-edge#configuring-smart-edges

@vaibhav-systango
Copy link
Author

This doesn;t helps @sushantgulati1 @tisoap

@tisoap
Copy link
Owner

tisoap commented Jun 10, 2022

Hey @vaibhav-systango , thanks for reporting it! Do you have a minimal example on CodeSandbox or a minimal GitHub repo where the error happens? This would help me debug the issue

@tisoap tisoap added the bug Something isn't working label Jun 10, 2022
@tisoap tisoap added this to New in Kanban Jun 10, 2022
@vaibhav-systango
Copy link
Author

@tisoap here itself you can see the arrow markers are not straight :
https://tisoap.github.io/react-flow-smart-edge/?path=/story/smart-edge--smart-step

meanwhile I'll shre a custom sanbox also shortly

@vaibhav-systango
Copy link
Author

vaibhav-systango commented Jun 10, 2022

@tisoap here's a sandbox link as well for same:
https://codesandbox.io/s/funny-bird-v39ds4

@tisoap tisoap changed the title Custom markers get disturbed when using smart edge Custom markers get misaligned when using smart edge Jun 10, 2022
@tisoap tisoap added the pinned This should not be closed by bots on inactivity label Jun 10, 2022
@vaibhav-systango
Copy link
Author

@tisoap looking forward to this 💯

@tisoap
Copy link
Owner

tisoap commented Jun 13, 2022

@vaibhav-systango Please don't spam comments, I only work on this library on my free time when I feel motivated to do so. If you're in a hurry, feel free to fork this repository and implement it on your own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pinned This should not be closed by bots on inactivity
Projects
No open projects
Kanban
  
To Do
Development

No branches or pull requests

3 participants