Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002262graphvizOther toolspublic2013-02-23 07:522013-02-23 07:52
Assigned To 
PlatformMacOSOS XOS Version10.8.2
Summary0002262: gvmap: Tree nodes can lie outside their »country« when labels are used
DescriptionI created a large-ish tree that is processed wit dot.
Nodes in the tree are marked with a »cluster« so gvmap can create a map based on that.
When not having any labels in the graph, this works perfectly.
Once I add the labels which are multiline and have varying widths, the map created by gvmap can have a slight offset in some places, causing the nodes to lie not entirely in their assigned region of the map or
Steps To ReproduceI provide four example files at [^]

The working case is »input-simple.gv«, each node only has a small ID there which is used as the label. It gives the correct output file »output-simple.svg« after using

dot input-simple.gv | gvmap -e | dot -Tsvg

The IMO erroneous case is given by »input.gv«. Here the nodes contain larger labels and end up having varying sizes. Running

dot input-simple.gv | gvmap -e | dot -Tsvg

gives the output file »output.svg«. Here some nodes overlap the map boundaries (e.g. 273, 332, 479, 491, …) or lie completely outside their country on the map (e.g. 501, 183).
Additional InformationI am using graphviz 2.30.1 on Mac OS 10.8.2 installed via homebrew.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2013-02-23 07:52 ssp New Issue

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