private void Clear(object sender, ExecutedRoutedEventArgs executedRoutedEventArgs) { _graphViewModel.ResetColor(); _algorithm.Clear(sender != null); }