|
From: <kin...@us...> - 2023-07-19 22:57:48
|
Revision: 7133
http://sourceforge.net/p/teem/code/7133
Author: kindlmann
Date: 2023-07-19 22:57:47 +0000 (Wed, 19 Jul 2023)
Log Message:
-----------
re-ordering contents
Modified Paths:
--------------
teemdoc/trunk/html/img/graph/teem-graph-gen.py
Modified: teemdoc/trunk/html/img/graph/teem-graph-gen.py
===================================================================
--- teemdoc/trunk/html/img/graph/teem-graph-gen.py 2023-07-19 18:13:25 UTC (rev 7132)
+++ teemdoc/trunk/html/img/graph/teem-graph-gen.py 2023-07-19 22:57:47 UTC (rev 7133)
@@ -3,6 +3,21 @@
import os
import sys
+
+def readlines(fname):
+ with open(fname) as ff:
+ lines = ff.readlines()
+ return lines
+
+
+# teem-graph.dot is manually maintained as original dependency graph,
+# which is then reduced via:
+# tred teem-graph.dot > teem-rgraph.dot
+# rgraph is read; first and last lines are dropped
+origlines = readlines('teem-rgraph.dot')[1:-1]
+outname = 'teem-rgraph'
+
+
header = """digraph G {
concentrate=true;
remincross=true;
@@ -26,20 +41,6 @@
tailer = """ } """
-def readlines(fname):
- ff = open(fname)
- lines = ff.readlines()
- ff.close()
- return lines
-
-
-# teem-graph.dot is manually maintained as original dependency graph,
-# which is then reduced via:
-# tred teem-graph.dot > teem-rgraph.dot
-# rgraph is read; first and last lines are dropped
-origlines = readlines('teem-rgraph.dot')[1:-1]
-outname = 'teem-rgraph'
-
# this may actually not be reproducible ...
sidx = 0
minidx = sidx
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|