private async void Button_Click_1(object sender, RoutedEventArgs e) { OstovTree ot = new OstovTree(); await ot.AnimatedPrim(graph, grid); }
private void Button_Click(object sender, RoutedEventArgs e) { OstovTree ot = new OstovTree(); ot.Prim(graph, grid); }