annotate scripts/showTopo.sh @ 346:d46c42352e4f

change images position. It is under src/main/resources
author sugi
date Mon, 21 Apr 2014 19:57:44 +0900
parents 094d8fa4945e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
185
094d8fa4945e add comment
e095732
parents:
diff changeset
1 #!/bin/bash
094d8fa4945e add comment
e095732
parents:
diff changeset
2 max=$1
094d8fa4945e add comment
e095732
parents:
diff changeset
3 child_num=`expr $max - 1`
094d8fa4945e add comment
e095732
parents:
diff changeset
4 ruby ./topology/treen.rb $max 2 > ./topology/tree.dot
094d8fa4945e add comment
e095732
parents:
diff changeset
5 dot -Tpng ./topology/tree.dot > ./topology/tree.png
094d8fa4945e add comment
e095732
parents:
diff changeset
6 open ./topology/tree.png
094d8fa4945e add comment
e095732
parents:
diff changeset
7