private void button3_Click(object sender, EventArgs e) { demoGraph = new Graph.Graph(); graphNodes.Items.Clear(); graphEdges.Items.Clear(); undirected.Enabled = true; }