From 3e83a73b848c7279e676438aeafb4736bb13ca7d Mon Sep 17 00:00:00 2001 From: wnj00524 <68168066+wnj00524@users.noreply.github.com> Date: Tue, 7 Apr 2026 16:26:32 +0100 Subject: [PATCH] Add dropdown-based node and edge editors Move node role editing into a dedicated window with dropdown selection for nodes, traffic entries, traffic types, and roles, and constrain edge endpoints to existing nodes. --- src/MedWNetworkSim.App/MainWindow.xaml | 184 +++++++++-- src/MedWNetworkSim.App/MainWindow.xaml.cs | 19 ++ src/MedWNetworkSim.App/NodeEditorWindow.xaml | 291 ++++++++++++++++++ .../NodeEditorWindow.xaml.cs | 58 ++++ .../ViewModels/MainWindowViewModel.cs | 50 ++- .../ViewModels/NodeTrafficProfileViewModel.cs | 121 ++++++++ 6 files changed, 693 insertions(+), 30 deletions(-) create mode 100644 src/MedWNetworkSim.App/NodeEditorWindow.xaml create mode 100644 src/MedWNetworkSim.App/NodeEditorWindow.xaml.cs diff --git a/src/MedWNetworkSim.App/MainWindow.xaml b/src/MedWNetworkSim.App/MainWindow.xaml index 9d0dc25..35e4c33 100644 --- a/src/MedWNetworkSim.App/MainWindow.xaml +++ b/src/MedWNetworkSim.App/MainWindow.xaml @@ -363,6 +363,7 @@ @@ -536,6 +537,95 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +