public void AddGraph(DGraph2 graph)
 {
     Objects.Add(graph);
     Bounds.Contain(graph.GetBounds());
 }
 public void AddGraph(DGraph2 graph, Style style)
 {
     Objects.Add(graph);
     Styles[graph] = style;
     Bounds.Contain(graph.GetBounds());
 }
 public void AddGraph(DGraph2 graph)
 {
     CurrentLayer.Objects.Add(graph);
     Bounds.Contain(graph.GetBounds());
 }