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

Connect two horizontal elements with an arrow that goes "the long way" instead of the minimal one #109

Open
dimapx opened this issue Sep 1, 2020 · 1 comment
Labels
drawing shape enhancement New feature or request

Comments

@dimapx
Copy link

dimapx commented Sep 1, 2020

Hey @pierpo,

Is it possible to create a relation between elements 3 and 1 that would create an arrow such as the red one shown below? (can have straight angles as well)-

image

Any configuration I try results in an arrow that connects elements 3 and 1 via an arrow that is on the minimal path between the two, i.e. goes "through" element 2 (tried different offsets as well as curved and straight lines).

Thanks!
Dima

@pierpo
Copy link
Owner

pierpo commented Sep 1, 2020

Hi,

Not possible yet 😢
I wish it was, but the way the arrows are computed do not allow this for now.

I need to think of a solution to make the drawing more flexible and allow this kind of scenario. This would be a heavy change though, so I can't give any ETA.

My suggestion to solve your issue: fork the lib (or use patch-package) and change the arrows so that they fit your needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
drawing shape enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants