[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Size of node, Length of link (II)



I read kind email. Thanks a lot.
 
In my estimation, Your suggestion method ("NAM EDIT") is to click the EDIT button.
 
Look this picture.
 
 
And, move node and expand/reduce link.
 
 
When the finish editing, "File->Save Layout", It can be saved topology.
 
This is very good method. I used this method a few weeks ago.
 
But,
 
I want to control in "tcl code".
 
If I do the method "NAM EDIT", I get the file which text is as follows; (example)
 
n -t * -s 16 -v circle -c #ffff0000ffff -z 3.465000  -S UP
n -t * -s 15 -v circle -c #ffff0000ffff -z 3.465000  -S UP
n -t * -s 14 -v circle -c #ffff0000ffff -z 3.465000  -S UP
n -t * -s 13 -v circle -c #ffff0000ffff -z 3.465000  -S UP
n -t * -s 12 -v circle -c #ffff0000ffff -z 3.465000  -S UP
n -t * -s 11 -v circle -c #ffff0000ffff -z 3.465000  -S UP
n -t * -s 10 -v circle -c #ffff0000ffff -z 3.465000  -S UP
n -t * -s 9 -v circle -c #ffff0000ffff -z 3.465000  -S UP
n -t * -s 8 -v circle -c #ffff0000ffff -z 3.465000  -S UP
n -t * -s 7 -v circle -c #ffff0000ffff -z 3.465000  -S UP
n -t * -s 6 -v circle -c #ffff0000ffff -z 3.465000  -S UP
n -t * -s 5 -v circle -c #ffff0000ffff -z 3.465000  -S UP
n -t * -s 4 -v circle -c #ffff0000ffff -z 3.465000  -S UP
n -t * -s 3 -v circle -c #ffff0000ffff -z 3.465000  -S UP
n -t * -s 2 -v circle -c #ffff0000ffff -z 3.465000  -S UP
n -t * -s 1 -v circle -c #ffff0000ffff -z 3.465000  -S UP
n -t * -s 0 -v circle -c #ffff0000ffff -z 3.465000  -S UP
n -t * -s 17 -v circle -c #ffff0000ffff -z 3.465000  -S UP
l -t * -s 12 -d 13 -r 90000000.000000 -D 1.300000 -c black -o 349.5deg -l 18.742719 -S UP
l -t * -s 11 -d 13 -r 200000000.000000 -D 5.670000 -c black -o 7.7deg -l 24.288366 -S UP
l -t * -s 11 -d 12 -r 245000000.000000 -D 1.300000 -c black -o 55.5deg -l 4.847044 -S UP
l -t * -s 10 -d 11 -r 930000000.000000 -D 0.600000 -c black -o 22.7deg -l 1.880933 -S UP
l -t * -s 9 -d 10 -r 45000000.000000 -D 0.450000 -c black -o 36.4deg -l 0.823633 -S UP
l -t * -s 7 -d 17 -r 4000000.000000 -D 0.500000 -c black -o 294.2deg -l 0.048691 -S UP
l -t * -s 7 -d 16 -r 155000000.000000 -D 0.450000 -c black -o 259.9deg -l 1.241007 -S UP
l -t * -s 7 -d 15 -r 4000000.000000 -D 1.000000 -c black -o 241.6deg -l 2.126836 -S UP
l -t * -s 7 -d 14 -r 155000000.000000 -D 1.600000 -c black -o 229.7deg -l 5.262962 -S UP
l -t * -s 7 -d 9 -r 45000000.000000 -D 1.400000 -c black -o 48.0deg -l 5.188479 -S UP
l -t * -s 7 -d 8 -r 45000000.000000 -D 0.500000 -c black -o 51.1deg -l 0.355758 -S UP
l -t * -s 6 -d 7 -r 2000000.000000 -D 0.850000 -c black -o 357.7deg -l 1.841536 -S UP
l -t * -s 5 -d 7 -r 45000000.000000 -D 12.400000 -c black -o 336.2deg -l 55.762799 -S UP
l -t * -s 2 -d 7 -r 200000000.000000 -D 23.100000 -c black -o 342.0deg -l 106.091582 -S UP
l -t * -s 2 -d 4 -r 49000000.000000 -D 5.500000 -c black -o 349.7deg -l 24.173847 -S UP
l -t * -s 2 -d 3 -r 6000000.000000 -D 3.900000 -c black -o 2.4deg -l 16.862952 -S UP
l -t * -s 1 -d 2 -r 290000000.000000 -D 5.600000 -c black -o 2.2deg -l 24.254831 -S UP
l -t * -s 0 -d 2 -r 135000000.000000 -D 0.800000 -c black -o 232.0deg -l 2.764499 -S UP
l -t * -s 0 -d 1 -r 155000000.000000 -D 6.700000 -c black -o 192.2deg -l 29.925843 -S UP
This data has topology data. But it is not my concern.
 
I want to node and link control in "tcl code".