Example #1
0
		/// <summary>
		/// Creates new instance of the object.
		/// </summary>
		/// <param name="linkedNode">Linkded node to initialize new instace with.</param>
		/// <param name="connectorPoints">Connector points collection to initialize new instance with.</param>
		public LinkedNode(Node linkedNode, ConnectorPointsCollection connectorPoints) : this()
		{
			this.Node = linkedNode;
			if(connectorPoints!=null)
			{
				m_ConnectorPoints = connectorPoints;
				m_ConnectorPoints.SetParentNode(m_Parent);
			}
		}
Example #2
0
		/// <summary>
		/// Creates new instance of the object.
		/// </summary>
		public LinkedNode()
		{
			m_ConnectorPoints=new ConnectorPointsCollection();
		}
Example #3
0
		/// <summary>Default Constructor.</summary>
		public Node()
		{
			m_NodesColumns=new ColumnHeaderCollection();
			m_Cells.SetParentNode(this);
			m_ParentConnectorPoints=new ConnectorPointsCollection();
			m_ParentConnectorPoints.SetParentNode(this);

			Cell defaultCell=new Cell();
			this.Cells.Add(defaultCell);
		}