# Implement throughput measurement pass
def setup_layout(self): self.app.layout = html.Div([ html.H1("LANBench - Live Network Monitor"), html.Div([ dcc.Graph(id='live-latency'), dcc.Graph(id='live-throughput'), dcc.Graph(id='bandwidth-heatmap'), dcc.Interval(id='interval-update', interval=1000) ]) ])
class TestConfig(BaseModel): test_type: str target_host: str duration: int protocol: str = "tcp" packet_size: Optional[int] = 1400


