graphs



Am 7 Apr 2007 um 16:19 hat Andrej Vodopivec geschrieben:

> > (%i3) draw_graph( g );
> > When the argument is empty, the optional argument must be defined
> > #0: draw_graph(g=?GRAPH,options=[])(draw_graph.mac line 141)
> >  -- an error.  To debug this try debugmode(true);
> 
> Hm, these commands work for me (with 5.11.99). I don't really
> understand what the error message is saying here.

Hi  Andrej, 

did you run your commands on linux or on Windows? 

I installed WinGraphviz this morning and I found that the Windows version is nothing but 
WinGraphviz.dll which is registered then. I am new to this, but as far as I understand, I can 
use this dll by creating an object, e.g. WinGraphviz.dot in some piece of cpp, vbs 
(successfully tested) or perl code. There is no system32 command named dot, so I fear, 
your code in draw_graph.mac

  command : concat("dot -Tplain \"", gp_file_in, "\" > \"", gp_file_out, "\"")
  ...
  system(command),

doesn't work on Windows. What can I do? 

Volker