private void deleteButton_Click(object sender, RoutedEventArgs e)
 {
     graph.RemoveEdge(info.Capture, info.Render);
     Close();
 }