Mobile app version of vmapp.org
Login or Join
Miguel516

: How to design arrow links between two nodes? I'm building an algorithm for drawing directional lines between two nodes. In the trivial case of one link it works fine. But this method fails

@Miguel516

Posted in: #Alignment #Composition #Critique

I'm building an algorithm for drawing directional lines between two nodes. In the trivial case of one link it works fine.



But this method fails when there's a reciprocal line it overlaps the first one.



My first approach to resolve this is to arch the two lines, but now I don't know where to put the arrow? It can't go where it used to, because it will overlap with the outgoing line.



Where should the arrow go in this case?

Edit - Node Labels

Here's an illustration of how each link between the nodes has a label.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Miguel516

1 Comments

Sorted by latest first Latest Oldest Best

 

@Ogunnowo857

I would need to know a bit more about its usage and functionality to make a better answer, but with the information I have...

You could keep it simple by putting the arrows on the circles and using just one line.

Something like this:

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme