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(); }
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(); }