예제 #1
0
        /// <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();
        }
예제 #2
0
        /// <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();
        }