projectstorm / react-diagrams

a super simple, no-nonsense diagramming library written in react that just works
https://projectstorm.cloud/react-diagrams
MIT License
8.72k stars 1.18k forks source link

Zooming out arrows change directions #411

Open schecter22107 opened 5 years ago

schecter22107 commented 5 years ago

When i zoom out the arrows change directions but if i connect them to a box it fixes itself automatically. Is there any idea on how to fix the arrows changing direction when i zoom out of the diagram. Thank you unnamed

obaid commented 5 years ago

Don’t have a solution for you but rather a question: how are you drawing the arrow on the link?

vimaranes commented 5 years ago

Don’t have a solution for you but rather a question: how are you drawing the arrow on the link?

+1

sjw441500 commented 5 years ago

I also got this problem when I override the linkSegment and use getPointAtLength to get the arrow head position.See more details in issue #183 .