Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002365graphvizDotpublic2013-09-13 06:192013-09-13 10:51
Reporterstonecheung 
Assigned To 
PriorityhighSeveritycriticalReproducibilityalways
StatusnewResolutionopen 
PlatformAllOSAllOS VersionAll
Summary0002365: [dot] aspect attribute make duplicated edges in output image!
DescriptionA simple test.dot file contains bidirected edge and with aspect attribute set to 1.
-----
digraph test {
graph [aspect=1];
"Point1" -> "Point2" [];
"Point2" -> "Point1" [];
}
-----

When this test.dot file processed by graphviz application(both command-line and GUI tool), the output image will contain 4 extra "Point2" -> "Point1" edge eages(seems the "Point2" -> "Point1" edge duplicated)!

If remove the graph's aspect attribute, everything will be OK!
Steps To ReproduceA simple test.dot file contains bidirected edge and with aspect attribute set to 1.
-----
digraph test {
graph [aspect=1];
"Point1" -> "Point2" [];
"Point2" -> "Point1" [];
}
-----

When this test.dot file processed by graphviz application(both command-line and GUI tool), the output image will contain 4 extra "Point2" -> "Point1" edge eages(seems the "Point2" -> "Point1" edge duplicated)!
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSION
Attached Filesdot file icon test.dot [^] (84 bytes) 2013-09-13 06:19
png file icon test.png [^] (8,323 bytes) 2013-09-13 06:23

- Relationships

-  Notes
User avatar (0000524)
stonecheung (reporter)
2013-09-13 06:25

And it seems the same problem when I try to merge two directed edges to one bi-directed edge. As below.

two directed edges:
"Point1" -> "Point2" [];
"Point2" -> "Point1" [];

one bi-directed edge:
"Point1" -> "Point2" [dir="both"];
User avatar (0000526)
erg (administrator)
2013-09-13 10:51

Yes, we've recently discovered that the implementation of the aspect attribute has some serious deficiencies. We have disabled the attribute until we can get it fixed.

- Issue History
Date Modified Username Field Change
2013-09-13 06:19 stonecheung New Issue
2013-09-13 06:19 stonecheung File Added: test.dot
2013-09-13 06:23 stonecheung File Added: test.png
2013-09-13 06:25 stonecheung Note Added: 0000524
2013-09-13 10:51 erg Note Added: 0000526


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