public MainWindow()
        {
            InitializeComponent();

            TspViewModel tspVm = new TspViewModel(new TwoOptSolverEdges(), this.Dispatcher);
            TspVisualization tspView = new TspVisualization();
            tspView.DataContext = tspVm;
            tspView.Setup();
            visualization.Content = tspView;
        }
 public void Setup()
 {
     this.TspVm = this.DataContext as TspViewModel;
     this.SubscribeToEvents();
     //this.graphDataGrid.ItemsSource = this.TspVm.Graphs;
     //this.solverDisplay.Text = this.TspVm.Solver.SolverInfo;
 }