示例#1
0
        void ParseEdge()
        {
            var source = GetAttr("source");
            var target = GetAttr("target");
            var src    = _graphmlNodes[source];
            var trg    = _graphmlNodes[target];
            var edge   = new GraphmlEdge(src, trg);

            src.outEdges.Insert(edge);
            trg.inEdges.Insert(edge);
            Skip();
            XmlRead();
        }
 void ParseEdge() {
     var source = GetAttr("source");
     var target = GetAttr("target");
     var src = _graphmlNodes[source];
     var trg = _graphmlNodes[target];
     var edge = new GraphmlEdge(src, trg);
     src.outEdges.Insert(edge);
     trg.inEdges.Insert(edge);
     Skip();
     XmlRead();
 }