summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Richter <Felix.Richter@syntax-fehler.de>2011-05-30 18:12:42 +0200
committerFelix Richter <Felix.Richter@syntax-fehler.de>2011-05-30 18:12:42 +0200
commit302761127cbe05def0c92d6293d3bc4fa93eee6f (patch)
treeab820cc3b6e1f185c29fa911871fcd9394febf84
parentfa4204369e2d75b06d8b007a751aed06327fd315 (diff)
added overlap=false fix, neato grapher
-rwxr-xr-xretiolum/scripts/adv_graphgen/parse.py1
-rwxr-xr-xretiolum/scripts/adv_graphgen/sanitize.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/retiolum/scripts/adv_graphgen/parse.py b/retiolum/scripts/adv_graphgen/parse.py
index 639c5316..9c2dd051 100755
--- a/retiolum/scripts/adv_graphgen/parse.py
+++ b/retiolum/scripts/adv_graphgen/parse.py
@@ -11,6 +11,7 @@ def write_digraph(nodes):
"""
print ('digraph retiolum {')
print (' node[shape=box,style=filled,fillcolor=grey]')
+ print (' overlap=false')
generate_stats(nodes)
nodes = delete_unused_nodes(nodes)
merge_edges(nodes)
diff --git a/retiolum/scripts/adv_graphgen/sanitize.sh b/retiolum/scripts/adv_graphgen/sanitize.sh
index 0e12d207..3860a9b8 100755
--- a/retiolum/scripts/adv_graphgen/sanitize.sh
+++ b/retiolum/scripts/adv_graphgen/sanitize.sh
@@ -1,5 +1,6 @@
GRAPH_SETTER1=dot
GRAPH_SETTER2=circo
+GRAPH_SETTER3=neato
LOG_FILE=/var/log/everything.log
OPENER=/bin/true
@@ -9,5 +10,6 @@ sudo sed -n '/tinc.retiolum/{s/.*tinc.retiolum\[[0-9]*\]: //gp}' $LOG_FILE |\
$GRAPH_SETTER1 -Tpng -o $1retiolum_1.png retiolum.dot
$GRAPH_SETTER2 -Tpng -o $1retiolum_2.png retiolum.dot
+$GRAPH_SETTER3 -Tpng -o $1retiolum_3.png retiolum.dot
$OPENER retiolum_1.png &>/dev/null
#rm retiolum.dot