Exemplo n.º 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();
        }
Exemplo n.º 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();
        }