Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000154graphvizDotpublic2002-12-29 22:232011-04-28 04:02
ReporterDylan Hall 
Assigned Tonorth 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-Linux-debian stableOS Version
Summary0000154: headlabel and taillable wrong way round
Description



I'm using graphviz to draw network diagraphs for an ethernet network.
A "dot" file is created with a perl script, then passed to dot.



> dot -Tpng output.dot -o output.png



The resulting file appears to have the headlabel and taillabel switched on
the edges between:
"x11.engops.tsnz.net" and "x13.engops.tsnz.net"
"s36-usya01-r31.engops.tsnz.net" and "a1"
Steps To Reproduce

// topology information
graph "test" {
        edge [ color=red labelfontsize=8 ]
        "x12.engops.tsnz.net" [ shape="box" label="x12" ]
        "x12.engops.tsnz.net" -- "u12.engops.tsnz.net" [ headlabel="ge1/0" taillabel="1:3" ]
        "x12.engops.tsnz.net" -- "x13.engops.tsnz.net" [ headlabel="2:1" taillabel="1:6" ]
        "x12.engops.tsnz.net" -- "x11.engops.tsnz.net" [ headlabel="2:5" taillabel="3:6" ]
        "x11.engops.tsnz.net" [ shape="box" label="x11" ]
        "x11.engops.tsnz.net" -- "u11.engops.tsnz.net" [ headlabel="ge1/0" taillabel="1:3" ]
        "x11.engops.tsnz.net" -- "x13.engops.tsnz.net" [ headlabel="1:1" taillabel="1:6" ]
        "x11.engops.tsnz.net" -- "s36-usya01-r31.engops.tsnz.net" [ headlabel="1:2" taillabel="1:7" ]
        "x11.engops.tsnz.net" -- "s36-usya01-r31.engops.tsnz.net" [ headlabel="1:1" taillabel="2:8" ]
        "x13.engops.tsnz.net" [ shape="box" label="x13" ]
        "s36-usya01-r31.engops.tsnz.net" [ shape="box" label="s36-usya01-r31" ]
        "a1" [ shape="ellipse" label="CPE/Unknown" ]
        "s36-usya01-r31.engops.tsnz.net" -- "a1" [ taillabel="7:14" ]
        "a2" [ shape="ellipse" label="CPE/Unknown" ]
        "s36-usya01-r31.engops.tsnz.net" -- "a2" [ taillabel="8:14" ]
}
Additional Information
Is this a bug or am I doing something dumb?

[erg] The problem is that the graph libraries do not support notions of
head and tail nodes for undirected graphs. The simplest fix is to use
a directed graph. If you don't want arrowhead (the default for directed
graphs, set dir=none for edges.

After further consideration, we decided to change the libraries to support
an implied directionality with undirected edges.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID239
INPUT-FILE
OUTPUT-FILEhttp://www.graphviz.org/bugs/b239.png [^]
STATUS-COMMENTFixed (15 January 2003)
VERSION     1.8.9
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:02 user1 New Issue
2011-04-28 04:02 user1 Assigned To => Stephen North


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker