xentaur
diff xentaur.py @ 31:532f2ed25f70
fontsize + shapes color
author | nata |
---|---|
date | Sat Sep 22 00:09:45 2007 +0300 (2007-09-22) |
parents | 87f19c6d1514 |
children | bf2d7c5bb340 |
line diff
1.1 --- a/xentaur.py Fri Sep 21 21:29:28 2007 +0300 1.2 +++ b/xentaur.py Sat Sep 22 00:09:45 2007 +0300 1.3 @@ -6,7 +6,7 @@ 1.4 xenomips_vars.N='1' 1.5 sys.path.append('/etc/xen') 1.6 1.7 -xen_config_name='fabergeN' 1.8 +xen_config_name='netw' 1.9 exec 'from '+xen_config_name+' import bridges,vbridges_table, hidden_bridges, domains, broken_links, temporary_links, domain_types' 1.10 1.11 bridges_turned_down=[] 1.12 @@ -85,7 +85,7 @@ 1.13 for domain in domains: 1.14 domain_type[domain]=domain_types[i] 1.15 i+=1 1.16 - return node+" [label=\" "+node+"\",shapefile=\"shapes/all/"+domain_type[node]+".png\",fontcolor=navy,fontsize=14]" 1.17 + return node+" [label=\" "+node+"\",shapefile=\"shapes/all/"+domain_type[node]+".png\",fontcolor=black,fontsize=16]" 1.18 1.19 def graph_bridge(bridge): 1.20 if bridge in hidden_bridges: 1.21 @@ -189,6 +189,7 @@ 1.22 """ 1.23 1.24 def shell(): 1.25 + autoredraw() 1.26 ipshell = IPShellEmbed() 1.27 ipshell() 1.28