view scripts/showTopo.sh @ 235:4dc2f09a8f7a

use extract method
author sugi
date Sat, 30 Mar 2013 10:50:17 +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