From 302761127cbe05def0c92d6293d3bc4fa93eee6f Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Mon, 30 May 2011 18:12:42 +0200 Subject: added overlap=false fix, neato grapher --- retiolum/scripts/adv_graphgen/parse.py | 1 + retiolum/scripts/adv_graphgen/sanitize.sh | 2 ++ 2 files changed, 3 insertions(+) (limited to 'retiolum/scripts') 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 -- cgit v1.2.3