Example #1
0
        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);
        }