view scripts/showTopo.sh @ 226:6d546924eea0

sort is success but it has bug
author sugi
date Thu, 28 Mar 2013 21:05:39 +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