示例#1
0
        void ReadGeomGraph()
        {
            geometryGraphReader = new GeometryGraphReader();
            geometryGraphReader.SetXmlReader(this.xmlReader);
            GeometryGraph geomGraph = geometryGraphReader.Read();

            BindTheGraphs(this.graph, geomGraph, graph.LayoutAlgorithmSettings);
        }
示例#2
0
 private void ReadGeomGraph()
 {
     if (ReadBooleanElement(Tokens.GeometryGraphIsPresent))
     {
         GeometryGraphReader ggr = new GeometryGraphReader();
         ggr.SetXmlReader(this.xmlReader);
         GeometryGraph geomGraph = ggr.Read();
         BindTheGraphs(this.graph, geomGraph);
     }
 }