diff --git a/Source/Module/plot_lan_network.py b/Source/Module/plot_lan_network.py index 539846f..0444690 100644 --- a/Source/Module/plot_lan_network.py +++ b/Source/Module/plot_lan_network.py @@ -41,7 +41,10 @@ def __init__(self, filename, path, option="Tor", to_ip="All", from_ip="All"): 'fontcolor': 'black', 'color': ' black', 'style': 'filled', - 'fillcolor': 'yellow' + 'fillcolor': 'yellow', + 'fixedsize': 'true', + 'width': '3', + 'height': '3' } } diff --git a/Source/Module/user_interface.py b/Source/Module/user_interface.py index 7200e59..d6055b5 100644 --- a/Source/Module/user_interface.py +++ b/Source/Module/user_interface.py @@ -88,7 +88,7 @@ def __init__(self, base): self.engine.set('scapy') # Zoom - self.zoom = [900,900] + self.zoom = [900,500] ttk.Button(FirstFrame, text="zoomIn", command=self.zoom_in).grid(row=0,column=10, padx=5, sticky="E") ttk.Button(FirstFrame, text="zoomOut", command=self.zoom_out).grid(row=0,column=19,padx=10, sticky="E") @@ -339,7 +339,7 @@ def zoom_in(self): def zoom_out(self): print("zoomout") - if self.zoom[0] > 700 and self.zoom[1] > 700: + if self.zoom[0] > 900 and self.zoom[1] > 500: self.zoom[0] -= 100 self.zoom[1] -= 100 else: