private void sldRotation_ValueChanged(object sender, RoutedEventArgs e)
 {
     foreach (node n in nodes)
     {
         gui.Rotate(n, sldRotation.Value);
     }
     // Update();
 }