Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000706graphvizDotpublic2007-04-12 09:532011-05-24 16:42
ReporterRavi 
Assigned Toerg 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOS*-*-2.6.19-1.2895.fc6xenOS Version
Summary0000706: Problem with mapping coordinates when using circles in dot file
Description


There is a error in map file generated when using -Tcmapx option to get
client side maps.
The error occurs when circles are used in the graph, and is because of
error in which dot gives mapping for circle. It uses:
(center point (x, y), radial point on cicumfrence(y)), while html
understands it as (center point (x, y), radius(r)).



However problem can be circumvented by running a perl script
on the output before embedding the map file in html.
Steps To Reproduce
digraph bug { // check the map for "c" using -Tcmapx
a [shape ="circle", URL = "null"]
b [shape ="circle", URL = "null"]
c [shape ="circle", URL = "null"]
                     //map for "c" is incorrect
                    //error in a and b smaller as their
                    //y distance is small
a->b;
a->c;
}
Additional Information
Graphviz, is a very useful tool, we can make it better if we
isolate and fix all the bugs. I have used it for my project: veriviz,
visit http://vlsi.cs.iitm.ernet.in/veriviz/index.html [^]
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT 
Change the mapping, somewhere in the source code.
i.e. if current map for circle is (x,y, y1)
make it (x,y,(y1-y))
FORMER-ID1117
INPUT-FILEhttp://www.graphviz.org/bugs/bug.dot [^]
OUTPUT-FILEhttp://www.graphviz.org/bugs/bug.map [^]
STATUS-COMMENTFixed
VERSION     2.12
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 => erg
2011-05-24 16:42 dperry INPUT-FILE bug.dot (application/octet-stream) * => bug.dot
2011-05-24 16:42 dperry OUTPUT-FILE bug.map (text/x-imagemap) * => bug.map
2011-05-24 16:42 dperry Description Updated View Revisions
2011-05-24 16:42 dperry Steps to Reproduce Updated View Revisions
2011-05-24 16:42 dperry Additional Information Updated View Revisions


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