public void LoadDiagramFromXml( System.Xml.XmlNode node) { GOMLib.GOM_Diagram diagram = new GOMLib.GOM_Diagram(); diagram.LoadFromXML(node, null); this.m_rgObjects = diagram.Objects; this.m_rgLinks = diagram.Links; DrawObjectsOnCanvas(); }