Lines Matching refs:nodes
21 nodes = {}
31 if [x for x in p.nodes[n].get_conts() if x not in ns and not x == 'Err']:
33 nodes[n] = pydot.Node(n_cap,color="blue")
35 nodes[n] = pydot.Node(n_cap)
36 for n in nodes:
37 graph.add_node(nodes[n])
40 conts = p.nodes[n].get_conts()
43 graph.add_edge(pydot.Edge(nodes[n],nodes[c]))
53 nodes = {}
54 #add all nodes
57 nodes[n] = pydot.Node('addr_%s \n %s' % (hex(n), text))
61 nodes['Ret'] = pydot.Node('Ret')
63 #print 'nodes added to graph'
68 graph.add_edge(pydot.Edge(nodes[n],nodes[e.targ]))
77 nodes = {}
109 nodes[bb[0]] = pydot.Node(n_cap,Nodestyle="bold",color="hotpink")
111 nodes[bb[0]] = pydot.Node(n_cap,Nodestyle="bold",color="blue")
113 nodes[bb[0]] = pydot.Node(n_cap)
116 nodes['Ret'] = pydot.Node('Ret')
117 for n in nodes:
118 graph.add_node(nodes[n])
120 #print 'nodes added to graph'
127 graph.add_edge(pydot.Edge(nodes[BB[0]],nodes[e.targ]))