You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, I find only using a middle-to-middle anchor position can form the shortest length of the arrow line.
e.g. middle-to-middle
However, I do not want the arrow to get into my node. If I am using another anchor point even when noCurves prop., I am getting some straight lines with angles.
Is it possible to use different anchor points with a middle-to-middle anchor layout?
The text was updated successfully, but these errors were encountered:
If I got it correctly, you'd expect the first behaviour with arrows stopping on the corners of your element ?
I wish this was the case right (because "middle" is quite ugly) but as noted in the doc this is the behaviour we achieved the most simply, and making it look like you want will be quite hard 😞
In the README:
It's definitely possible, but I have no ETA yet. If you're interested, you can dive in the code of the lib (it's not too hard) and try to implement it yourself. I'll gladly receive a PR 😉
@pierpo thanks for your comment! I can make it myself. However, I am a junior level programmer that I might not be capable of writing perfect code. Would you mind to double-check for me?
@pierpo thanks for your comment! I can make it myself. However, I am a junior level programmer that I might not be capable of writing perfect code. Would you mind to double-check for me?
Currently, I find only using a middle-to-middle anchor position can form the shortest length of the arrow line.
e.g. middle-to-middle
However, I do not want the arrow to get into my node. If I am using another anchor point even when noCurves prop., I am getting some straight lines with angles.
Is it possible to use different anchor points with a middle-to-middle anchor layout?
The text was updated successfully, but these errors were encountered: