[GOODIE] MacOSXGraphVizGenerator-dd
Lic. Edgar J. De Cleene
edgardec2001 at yahoo.com.ar
Wed Mar 9 09:04:49 UTC 2005
On 08/03/05 16:31, "dominiqued at versateladsl.be" <dominiqued at versateladsl.be>
wrote:
> from preamble:
>
> "Change Set: MacOSXGraphVizGenerator-dd
> Date: 8 March 2005
> Author: Dominique Dutoit
>
> To use this generator, you have to download the port made by pixelglow
> (http://www.pixelglow.com/graphviz/) and install the Graphviz
> application in your Applications folder. This generator runs both under
> Carbon and Unix versions of the Squeak VM."!
Hey Dominique what nice job !!
A few notes.
In GraphViz should be changed
defaultGeneratorClass
^ MacOSXGraphVizGenerator
Or provide a method for select OS
In MacOSXGraphVizGenerator
commandLineForFormat: outputFormat
| inputFile outputFile| "outputFile is missed"
In MacOSXGraphVizGenerator class should be added
runOSProcess: command with: arguments
| path |
path := FileDirectory on: FileDirectory default pathName.
self runOSProcess: command with: arguments inDir: path
for override:
self subclassResponsibility
And final , when I do:
GraphViz directedGraphSample1
I got : a StringMorph with:
GraphViz image could not be generated in approximately 45 seconds or less
(in iMac 800 Mhz 640 Mb Ram)
Very thanks for this port to Mac and a final question
Exist any way of what GraphViz returns a list of coordinates and small
images for Squeak could later manipulate the resultanting morphs ?
Edgar
More information about the Squeak-dev
mailing list
|