예제 #1
0
        private NNodeList GetShapesList(NGraphVertexList vertices, NObjectGraphPartMap map)
        {
            NNodeList list = new NNodeList();
            int       i, vertexCount = vertices.Count;

            for (i = 0; i < vertexCount; i++)
            {
                list.Add((NShape)map.GetObjectFromPart(vertices[i]));
            }

            return(list);
        }
예제 #2
0
        private NNodeList GetShapesList(NGraphEdgeList edges, NObjectGraphPartMap map)
        {
            NNodeList list = new NNodeList();
            int       i, edgeCount = edges.Count;

            for (i = 0; i < edgeCount; i++)
            {
                list.Add((NShape)map.GetObjectFromPart(edges[i]));
            }

            return(list);
        }