tailport not always respected and trimmed when splines is ortho (dot) with a directed graph
Steps to reproduce
I'm running the latest window build, and have also tested on GraphViz Online with identical results. I am using the following dot code:
digraph graphname
{
splines=ortho;
1 [ width=1, height=1, shape=rect ];
2 [ width=1, height=1, shape=rect ];
3 [ width=3, height=3, shape=rect ];
4 [ width=1, height=1, shape=rect ];
5 [ width=1, height=1, shape=rect ];
1 -> 2[arrowhead=None, headport=n, tailport=s];
1 -> 3[arrowhead=None, headport=n, tailport=s];
1 -> 4[arrowhead=None, headport=n, tailport=s];
2 -> 4[arrowhead=None, headport=n, tailport=s];
2 -> 5[arrowhead=None, headport=n, tailport=s];
3 -> 4[arrowhead=None, headport=n, tailport=s];
3 -> 5[arrowhead=None, headport=n, tailport=s];
4 -> 5[arrowhead=None, headport=n, tailport=s];
}
This provides the following output:
Notice that the port (n) for node 5 is not respected. However, removing splines=ortho works just fine:
Expected Behaviour
I would be expecting the edges 2->5 and 3->5 to travel straight down, turn 90 degrees left and right respectively, continue on and turn in the opposite direction to reach the top of node 5 (excuse the crudity):
OS Version
Windows and online.
Graphviz Version
2.44.1 (20200629.0800)