summaryrefslogtreecommitdiffstats
path: root/retiolum
diff options
context:
space:
mode:
authortv <tv@also>2011-05-31 13:54:03 +0200
committertv <tv@also>2011-05-31 13:54:03 +0200
commit7448b089b883a365d122ae6fba4d15a44f6516c3 (patch)
tree6dd054687e7333f2ce4bace57b7b58c318f5bb93 /retiolum
parentc75b30737e5b96e7cda1d1ae727cae58a49677e2 (diff)
parent302761127cbe05def0c92d6293d3bc4fa93eee6f (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'retiolum')
-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