Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001079graphvizDotpublic2006-03-08 12:462011-04-28 04:03
ReporterIan Magill 
Assigned Togviz 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSx86-Linux-Suse 9.3OS Version
Summary0001079: Incorrect node size after gvFreeLayout if peripheries, skew etc. are set
Description



The problem occurs for nodes when using DOT in two ways.



In all cases when peripheries is set to greater than 1,
eg. fsm.dot,



In many cases when skew, orientation or distortion are set to non-zero values,
eg. crazy.dot.



Nodes always have the correct size after the first layout.
However in the problem cases each subsequent call to gvFreeLayout
followed by gvLayout, causes the node to increase in size.



This does not happen for all nodes in crazy.dot,
and the effect varies for each node.



Perhaps gvFreeLayout is not clearing some fields concerned
with these attributes.
Steps To Reproduce

digraph "bug" {
    node [
        shape = polygon,
        sides = 4,
        fontname = "Helvetica-Outline"
    ];
    "Node 1" [distortion="0.0", skew="0.0"];
    "Node 2" [distortion="0.5", skew="0.0"];
    "Node 3" [distortion="0.0", skew="0.5"];
    "Node 4" [distortion="0.0", orientation=30, skew="0.0"];
    "Node 5" [distortion="0.0", orientation=30, skew="0.5"];
    "Node 6" [peripheries=2];
    "Node 7" [shape=ellipse, peripheries=2];
}
Additional Information

In the sample given nodes 2,5,6,7 increase in size with each new layout.
The other nodes do not.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID901
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT*
VERSION     2.8
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

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


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