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); }
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); }