예제 #1
0
 private void startValue1()
 {
     _graph = GraphItem.createTestGraph();
     dataGridView1.DataSource = Matrix.createIncidenceMatrix(_graph);
     v_count.Text             = _graph.VertexCount.ToString();
     e_count.Text             = _graph.EdgeCount.ToString();
     errorLabel.Text          = "";
     richTextBox1.Text        = "";
     vizGraph();
 }
예제 #2
0
 private void startValue()
 {
     _graph = GraphItem.createTestGraph();
     dataGridView1.DataSource = Matrix.createIncidenceMatrix(_graph);
     v_count.Text             = _graph.VertexCount.ToString();
     e_count.Text             = _graph.EdgeCount.ToString();
     dataGridView2.DataSource = null;
     pictureBox2.Image        = null;
     errorLabel.Text          = "";
     vizGraph();
 }