Number: 2110
Title: Wrong direction of an edge
Submitter: Pascal
Date: Sat Jan 15 10:14:07 2011
Subsys: Dot
Version: 2.26.3
System: x86-OSX-10.6.6
Severity: minor
Problem:
I have an simple graph, which one edge where it is impossible to determine its direction. Drawing it backward fixes the problem. Quite strange, isn't it?
Input:
digraph problematicGraph
    {
        rankdir=LR;
        {rank=min; v [label="v"];};
        {rank=same; 1; 2; 3};
        {rank=sink; 4; 5;};

        v->1;
        v->2;
        v->3;
        1->2;
        3->2;
        1->4;
        3->5;
        5->4;
        5->1;

    }
Comments:

digraph workaround
    {
        rankdir=LR;
        {rank=min; v [label="v"];};
        {rank=same; 1; 2; 3};
        {rank=sink; 4; 5;};

v->1; v->2; v->3; 1->2; 2->3 [dir="back"]; 1->4; 3->5; 5->4; 5->1;

}

[erg] The drawing is correct. The problem is that the arrowhead on the edge from 3->2 is hidden by the arrowhead on v->2.
Owner: *
Status: Request