consolidated logic for drawing edge labels based on link to be contained within the edge class itself
This commit is contained in:
parent
ccb433a32d
commit
1884cda271
6 changed files with 80 additions and 94 deletions
|
@ -129,7 +129,7 @@ class CanvasNode:
|
|||
else:
|
||||
self.canvas.coords(edge.id, x1, y1, x, y)
|
||||
self.canvas.throughput_draw.move(edge)
|
||||
edge.link_info.recalculate_info()
|
||||
edge.update_labels()
|
||||
|
||||
for edge in self.wireless_edges:
|
||||
x1, y1, x2, y2 = self.canvas.coords(edge.id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue