/// <summary> /// Initializes a new instance of the <see cref="OrthogonalListGraph" /> class. /// </summary> /// <param name="topologyManager">The topology manager.</param> public OrthogonalListGraph(ITopologyManager topologyManager) { _topologyManager = topologyManager; _vertexList = new List <Vertex>(); _edgeList = new List <Edge>(); _factory = new VertexEdgeFactory(); this.Update(); }
/// <summary> /// Initializes a new instance of the <see cref="OrthogonalListGraph" /> class. /// </summary> /// <param name="topologyManager">The topology manager.</param> public OrthogonalListGraph(ITopologyManager topologyManager) { _topologyManager = topologyManager; _vertexList = new List<Vertex>(); _edgeList = new List<Edge>(); _factory = new VertexEdgeFactory(); this.Update(); }