Mercurial > hg > Members > tatsuki > Alice
diff scripts/showTopo.sh @ 185:094d8fa4945e working
add comment
author | e095732 |
---|---|
date | Wed, 06 Mar 2013 16:42:05 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/showTopo.sh Wed Mar 06 16:42:05 2013 +0900 @@ -0,0 +1,7 @@ +#!/bin/bash +max=$1 +child_num=`expr $max - 1` +ruby ./topology/treen.rb $max 2 > ./topology/tree.dot +dot -Tpng ./topology/tree.dot > ./topology/tree.png +open ./topology/tree.png +