From: ellson Date: Thu, 3 Jan 2008 02:58:18 +0000 (+0000) Subject: add some gv language-binding demos to the distributions X-Git-Tag: LAST_LIBGRAPH~32^2~4923 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d020cbd6c995a635896a947979f6fe4890520043;p=graphviz add some gv language-binding demos to the distributions --- diff --git a/tclpkg/gv/demo/modgraph.rb b/tclpkg/gv/demo/modgraph.rb index c57b6bafd..87c2606dd 100755 --- a/tclpkg/gv/demo/modgraph.rb +++ b/tclpkg/gv/demo/modgraph.rb @@ -4,7 +4,7 @@ # author: John Ellson -require '/usr/lib/graphviz/ruby/gv.so' +require 'gv.so' G = Gv.digraph("G") N = Gv.protonode(G) @@ -39,4 +39,4 @@ end f.close Gv.layout(G, 'dot') -Gv.render(G, 'gtk') +Gv.render(G, 'xlib')