graphs



> on wxMaxima (ascii-mode, 5.11.99rc1):
>
> (%i1) load("graphs/graphs");
> Loading graph theory package 'graphs', version 1.0.
> (%o1)
>  C:/Programme/Maxima-5.11.99rc1/share/maxima/5.11.99rc1/share/graphs/graphs.mac
> (%i2) g:graph_product( cycle_graph(5), path_graph(4) );
> (%o2)                                GRAPH
> (%i3) draw_graph( g );
> (%o3) wxdraw2d(points_joined = false,   .....

You need wxmaxima 0.7.2 (release candidate has 0.7.1). I guess I
missed this since I haven't used wxmaxima 0.7.1 in a while...

> on xMaxima:
>
> (%i1) load("graphs/graphs");
> Loading graph theory package 'graphs', version 1.0.
> (%o1)
>  C:/Programme/Maxima-5.11.99rc1/share/maxima/5.11.99rc1/share/graphs/graphs.mac
> (%i2) g:graph_product( cycle_graph(5), path_graph(4) );
> (%o2)                                GRAPH
> (%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.

-- 
Andrej