Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002010graphvizDotpublic2010-12-27 01:022011-04-28 04:03
ReporterRafael Chaves3 
Assigned Tonorth 
PrioritynormalSeveritycriticalReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-Windows-7/XPOS Version
Summary0002010: arrowhead/arrowtail ignored for non directed graphs
Description



I use Graphviz to generate UML class diagrams. It seems starting with the aforementioned release, arrows won't be drawn in non-directed graphs.



For instance, this used to generate two nodes with an arrow from B to A:



graph bug {B -- A [ arrowhead = opennone ] }



I did not test whether the problem occurs on other (non-Windows) platforms.



I know the Graphviz support in the Google Chart API works as I expected:



http://chart.googleapis.com/chart?cht=gv&chl=graph%20bug%20{B%20--%20A%20[%20arrowhead%20=%20opennone%20]%20} [^]
Steps To Reproduce

graph bug {B -- A [ arrowhead = opennone ] }
Additional Information

[north]
The old behavior was a bug, according to the documentation.
Please see http://www.graphviz.org/doc/info/attrs.html#k:dirType [^]
The drawing of arrowheads must be enabled by "dir".
It sounds as if you want to generate a directed graph as the
interpretation of "tail" and "head" in an undirected graph is
somewhat arbitrary. This should be fairly easy to correct.

Also I see there were or are font rendering problems in Windows
(the letter "B" is cut off in your example); I hope we have cleared those up
before the next major release.

[north]
Yes. I'm sorry about our previous error.
I'm glad you were able to devise the workaround.
I wasn't sure if you were generating your own
graph specifications.

[rafael]
Yes, I develop TextUML Toolkit, a tool for UML modeling that uses a
textual notation (and supports graphical visualization as well, using
Graphviz):

http://textuml.com/tutorial [^]

I am working on a similar tool available via Web (which uses support
for Graphviz in the Google Charts API):

http://alphasimple.com/mdd/diagram/rafael-361/xen.uml [^]

which was generated for:

http://alphasimple.com/project/show/361 [^]

TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID2095
INPUT-FILE
OUTPUT-FILEhttp://www.graphviz.org/bugs/b2095.jpg [^]
STATUS-COMMENTFixed (27 Dec 2010)
VERSION     2.26.3
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 => Stephen North


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