Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001404graphvizTcl/Tk Utilitiespublic2008-09-17 17:412011-04-28 04:03
ReporterWill Duquette 
Assigned Toellson 
PrioritynormalSeveritycriticalReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-Linux-RHEL 4OS Version
Summary0001404: Tcldot render renders to terminal
Description



The Tcldot method "render" is supposed to return a Tcl script that
will render the graph in a Tk canvas. I'm seeing two problems:
<CD>
1) You're supposed to be able to specify the name of the canvas
   widget; but it has no effect. I always get "$c".



2) It appears to be writing the Tcl script to stdout or stderr;
   it certainly isn't returning it as a Tcl value.
</CD>



I'm doing this interactively by typing these commands at a Tcl
interpreter:



<CD>
    % package require Tcldot
    % set f [open sample.dot r]
    % set g [dotread $f]
    % set a [$g render]
</CD>



When I'm done, the graph has been written to the terminal in which
I started the tclsh, and the value of a is "".



I'll attach sample.dot, below, but it doesn't seem to matter what
the content is.
Additional Information

[ellson] Yes, its buggy in graphviz-2.20.2. These bugs have been fixed. Please try a recent snapshot from www.graphviz.org.

The following works for me in wish:

<CD>
% package require Tcldot
2.21.20080917.0445
% pack [canvas .kanvas]
% set f [open sample.dot r]
file4
% set g [dotread $f]
graph0
% close $f
% eval [$g render .kanvas]
</CD>


TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1440
INPUT-FILEhttp://www.graphviz.org/bugs/b1440.dot [^]
OUTPUT-FILE
STATUS-COMMENTFixed
VERSION     2.20.2
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