Mercurial > hg > Members > tatsuki > Alice
view scripts/showTopo.sh @ 327:235f6d0994df
change algorism
author | sugi |
---|---|
date | Tue, 11 Feb 2014 15:47:14 +0900 |
parents | 094d8fa4945e |
children |
line wrap: on
line source
#!/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