private void buttonCreateSkeleton_Click(object sender, EventArgs e) { Graph graph = new Graph(); GraphGrid.CreateMatrix(dataGridSkeleton); GraphGrid.FixGraph(dataGridGraph); GraphGrid.WriteMatrix(graph, dataGridGraph); Graph ostov = KruskalAlgorithm.Go(graph, dataGridSkeleton); GraphGrid.WriteTable(ostov, dataGridSkeleton); }
private void buttonCreate_Click(object sender, EventArgs e) { Control.VertexCount = Convert.ToInt32(numericVertices.Value); GraphGrid.CreateMatrix(dataGridGraph); }