/// <summary> /// Creates a new subgraph of the given <see cref="PlanarGraph"/> /// </summary> /// <param name="parentGraph">the parent graph /// </param> public Subgraph(PlanarGraph parentGraph) { this.parentGraph = parentGraph; edges = new HashedSet(); dirEdges = new ArrayList(); nodeMap = new NodeMap(); }
/// <summary> /// Constructs a PlanarGraph without any Edges, DirectedEdges, or Nodes. /// </summary> public PlanarGraph() { m_arrEdges = new ArrayList(); dirEdges = new ArrayList(); nodeMap = new NodeMap(); }