Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000225graphvizDotpublic2003-06-04 00:002011-04-28 04:02
ReporterAndrew Sadler2 
Assigned Tonorth 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSx86-Linux-RedHat (kernel 2.2.17-OS Version
Summary0000225: The order in which nodes are declared changes the way the graph is drawn
Description
By declaring nodes in a different order, but keeping exactly the same edge structure, dot lays the graph out differently this seems to me wrong. I would prefer that structurally identical graphs be layed out identically. The example given shows two identical graphs on one plot, but the same happens if each is in its own different file.
Steps To Reproduce

digraph nodeorder {
        x1;
        x0;

        x0 -> x4;
        x1 -> x4;
        x3 -> x1;
        x4 -> x3;
        
        z0;
        z1;

        z0 -> z4;
        z1 -> z4;
        z3 -> z1;
        z4 -> z3;
}
Additional Information

[north] This is a feature, and is described as such in the user's guide and
papers we've written about the system.

If you want to canonicalize your graphs before drawing, one
way would be to sort the nodes and edges before printing them.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID302
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTInactive
VERSION   1.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