Class GraphNode
Graph node.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class GraphNode : GraphNodeBase, IGBounds, IGTransform
Constructors
GraphNode(Node)
Initializes a new instance of the GraphNode class.
Declaration
public GraphNode(Node nodeGraph)
Parameters
Type | Name | Description |
---|---|---|
Node | nodeGraph | The node graph. |
Properties
Children
Gets or sets this node's children.
Declaration
public ArrayList Children { get; set; }
Property Value
Type |
---|
System.Collections.ArrayList |
Distance
Gets or sets the distance
Declaration
public float Distance { get; set; }
Property Value
Type |
---|
System.Single |
Parents
Gets or sets this node's parents.
Declaration
public ArrayList Parents { get; set; }
Property Value
Type |
---|
System.Collections.ArrayList |
Tag
Gets or sets tag field.
Declaration
public object Tag { get; set; }
Property Value
Type |
---|
System.Object |
Visited
Gets or sets whether the node has been traversed or not.
Declaration
public bool Visited { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
GetAllConnections()
Gets all connection to other nodes.
Declaration
public ArrayList GetAllConnections()
Returns
Type | Description |
---|---|
System.Collections.ArrayList | The node connections. |