pygui: removed edges tracking interfaces, since the link associated with them already does
This commit is contained in:
parent
055029e5c5
commit
053cd1da65
5 changed files with 13 additions and 17 deletions
|
@ -322,10 +322,10 @@ class CanvasNode:
|
|||
for edge in self.edges:
|
||||
if self.id == edge.src:
|
||||
other_id = edge.dst
|
||||
edge_iface_id = edge.src_iface.id
|
||||
edge_iface_id = edge.link.iface1.id
|
||||
else:
|
||||
other_id = edge.src
|
||||
edge_iface_id = edge.dst_iface.id
|
||||
edge_iface_id = edge.link.iface2.id
|
||||
if edge_iface_id != iface_id:
|
||||
continue
|
||||
other_node = self.canvas.nodes[other_id]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue