- Timestamp:
- May 14, 2010 10:33:18 AM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- b0581ac
- Parents:
- 6d7a024
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/fedd_client.py
r6d7a024 rafc4af4 1090 1090 for n in t.elements: 1091 1091 if n.name: 1092 print >>dotfile, '\t"%s" [shape=box,style=filled,\\' % n.name [0]1092 print >>dotfile, '\t"%s" [shape=box,style=filled,\\' % n.name 1093 1093 else: 1094 1094 print >>dotfile, \ … … 1105 1105 if labels and ip: 1106 1106 print >>dotfile, '\t"%s" -- "%s" [headlabel="%s"]' % \ 1107 (l.name, i.element.name [0], ip)1107 (l.name, i.element.name, ip) 1108 1108 else: 1109 1109 print >>dotfile, '\t"%s" -- "%s"' % \ 1110 (l.name, i.element.name [0])1110 (l.name, i.element.name) 1111 1111 1112 1112 for l in links: … … 1118 1118 ('\t"%s" -- "%s" [label="%s",taillabel="%s",' + \ 1119 1119 'headlabel="%s"]') % \ 1120 (s.element.name [0], d.element.name[0], l.name,1120 (s.element.name, d.element.name, l.name, 1121 1121 sip, dip) 1122 1122 else: 1123 1123 print >>dotfile, '\t"%s" -- "%s" ' % \ 1124 (s.element.name [0], d.element.name[0])1124 (s.element.name, d.element.name) 1125 1125 def __call__(self): 1126 1126 """
Note: See TracChangeset
for help on using the changeset viewer.