add display throughput back to the gui

This commit is contained in:
Huy Pham 2019-12-06 12:46:00 -08:00
parent 27ead56a15
commit a7d9d588ae
4 changed files with 94 additions and 98 deletions

View file

@ -117,6 +117,8 @@ class CanvasNode:
self.canvas.coords(edge.id, x, y, x2, y2)
else:
self.canvas.coords(edge.id, x1, y1, x, y)
self.canvas.throughput_draw.move(edge)
edge.link_info.recalculate_info()
for edge in self.wireless_edges:
x1, y1, x2, y2 = self.canvas.coords(edge.id)