/// <summary> /// Runs the smart <see cref="NodeAggregation"/> algorithm with the settings from the properties panel. /// </summary> private async void RunButtonClick(object sender, RoutedEventArgs e) { SetUiEnabled(false); GraphControl.Graph = new DefaultGraph(); AggregateGraph.Dispose(); await RunAggregationAndReplaceGraph(OriginalGraph); SetUiEnabled(true); OnInfoPanelPropertiesChanged(); }