Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000918graphvizTcl/Tk Utilitiespublic2005-07-04 09:172011-04-28 04:03
ReporterAndy Duller 
Assigned Toellson 
PrioritynormalSeveritymajorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSx86-Linux-RedHat Enterprise 3OS Version
Summary0000918: Tcldot produces errrors when re-rendering a graph
Description



When using Tcldot. After a graph has been created using tcldot it can be rendered once correctly but if it is then re-rendered if produces an error. (I am assuming that this type of re-rendering is actually allowed, perhaps this assumption is wrong) In real examples this has produced incorrect colours or even segmentation faults. In the provided example it gives the error:



<CD>
tk_set_style: unsupported style box - ignoring



In addition, the following produces a related error:



% set f [open "test.gif" w]
file4
% $instg write $f gif
Warning: gd_set_style: unsupported style box - ignoring



Interestingly, changing the order of the definition of graph g1, i.e. setting the shape first and then the style, does not produce an error.
Steps To Reproduce

package require Tcldot

proc draw {} {
  global instg
  global sigg

 eval [$instg render .inst.graph]
 eval [$sigg render .sig.graph]
}

set instg \
  [dotstring "digraph g1 {anode \[style=bold, shape=box, color=yellow\];}"]
set sigg \
  [dotstring "digraph g2 {bnode \[shape=box, style=filled, color=red\];}"]

toplevel .inst
canvas .inst.graph
pack .inst.graph

toplevel .sig
canvas .sig.graph
pack .sig.graph

draw
draw
</CD>
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID737
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT*
VERSION     2.2.1
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 => user695


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