void NodesFromLib()
 {
     shapeList.Items.Clear();
     foreach (var shape in shapeLibrary.Shapes)
     {
         var node = new ShapeNode();
         node.Shape = shape;
         node.Text  = node.Shape.Id;
         node.Resize(80, 40);
         shapeList.Items.Add(node);
     }
 }