*** empty log message ***
authorellson <devnull@localhost>
Fri, 2 Jun 2006 23:37:57 +0000 (23:37 +0000)
committerellson <devnull@localhost>
Fri, 2 Jun 2006 23:37:57 +0000 (23:37 +0000)
tclpkg/gv/demo/modgraph.py
tclpkg/gv/examples/layout.py

index c09c455dadfb67b48da8c8e3a5348100ed0c975d..3db839d9ab4daf9f56e5bee236822848d070127f 100755 (executable)
@@ -6,8 +6,8 @@
 #  based on: modgraph.tcl by John Ellson <ellson@research.att.com>
 
 import sys
+sys.path.append('/usr/lib64/graphviz/python')
 sys.path.append('/usr/lib/graphviz/python')
-# sys.path.append('/usr/lib64/graphviz/python')
 import gv
 
 modules = open("/proc/modules", 'r').readlines()
@@ -35,4 +35,4 @@ for rec in modules:
 
 gv.layout(G, 'dot')
 # The 'gtk' renderer is provided by graphviz-cairo
-gv.render(G, 'gtk')
+gv.render(G, 'png', 'modgraph.png')
index 67bf24531878714c289f0a498f0123b0ecd00d18..9c6a21ae3f018b560249e743a77e1546f253d4e2 100755 (executable)
@@ -3,6 +3,7 @@
 # use layout positioning from within script
 
 import sys
+sys.path.append('/usr/lib64/graphviz/python')
 sys.path.append('/usr/lib/graphviz/python')
 import gv