Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000028graphvizDotpublic2002-04-08 07:102011-04-28 04:02
Reporterknue 
Assigned Tonorth 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-Linux-debian unstableOS Version
Summary0000028: top node not centered
Description



in the given example the root node of the tree is not left/right
centered - regardless of center=X. as it seems this happens only if
there are some shape=ellipse nodes. with all nodes having shape=box
the graph is perfectly symmetric.
the command was "dot -Tps bug.dot -o bug.eps"
Steps To Reproduce

digraph constr_doubl {

    center=true;


    me3 -> me1;
    me3 -> me2;
    me6 -> me4;
    me6 -> me5;

    me7 -> me3;
    me7 -> me6;

    e1 [ shape= box, label= "E1" ];
    e2 [ shape= box, label= "E2" ];
    e3 [ shape= box, label= "E3" ];
    e4 [ shape= box, label= "E4" ];
    e5 [ shape= box, label= "E5" ];
    e6 [ shape= box, label= "E6" ];
    e7 [ shape= box, label= "E7" ];
    e8 [ shape= box, label= "E8" ];

    { rank= same; e1; e2; e3; e4; e5; e6; e7; e8 }

    e1 -> e2 [ style= "invis"] ;
    e2 -> e3 [ style= "invis"] ;
    e3 -> e4 [ style= "invis"] ;
    e4 -> e5 [ style= "invis"] ;
    e5 -> e6 [ style= "invis"] ;
    e6 -> e7 [ style= "invis"] ;
    e7 -> e8 [ style= "invis"] ;

    me1 [ shape= ellipse, label= "ME1" ];
    me2 [ shape= ellipse, label= "ME2" ];
    me3 [ shape= ellipse, label= "ME3" ];
    me4 [ shape= ellipse, label= "ME4" ];
    me5 [ shape= ellipse, label= "ME5" ];
    me6 [ shape= ellipse, label= "ME6" ];
    me7 [ shape= ellipse, label= "ME7" ];

    me1 -> e1 ;
    me1 -> e2 ;
    me2 -> e3 ;
    me2 -> e4 ;
    me4 -> e5 ;
    me4 -> e6 ;
    me5 -> e7 ;
    me5 -> e8 ;
}
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID125
INPUT-FILE
OUTPUT-FILEhttp://www.graphviz.org/bugs/b125.ps [^]
STATUS-COMMENTFixed
VERSION     1.7.16-2
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