[Dot] Truly wrong direction of an edge
Ported Issue from Mantis Original ID: 2313 Reported By: hyatt
SEVERITY: MAJOR Submitted: 2013-07-25 18:03:30
OS: LINUX
OS BUILD: XUBUNTU 13.04
PLATFORM: X86_64
DESCRIPTION
The output for the sample input file should be a graph with 2 nodes and 2 edges. Each node has one edge leaving it and one edge arriving at it. Both edges begin at one node and end at the other node.
When I run dot on the sample input file, the output is a graph with 2 nodes and 2 edges, but both edges begin at the same node and end at the same node. One of the edges has been put in the wrong direction by dot.
STEPS TO REPRODUCE
In linux, issue command: dot figure2.dot -Teps -o figure2.eps That will generate the output file figure2.eps Observe both edges begin at node "0" and end at node "1".
ADDITIONAL INFORMATION
This bug is related to the label on the egde: If I delete "[ label = a ]" from the sample input file and issue the same command line as before, the output is correct.
This bug might be related to the position of the edges on the output: If I delete the line "rankdir = LR ;" from the sample input file and issue the same command line as before, the output is correct.
ATTENTION: on 25 February, erg asked for a sample like this in his response to bug report 002025