WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GraphNode

    Show / Hide Table of Contents

    Class GraphNode

    Graph node.

    Inheritance
    System.Object
    GraphNodeBase
    GraphNode
    Implements
    IGBounds
    IGTransform
    Inherited Members
    GraphNodeBase.ApplyChanges()
    GraphNodeBase.Translate(Single, Single)
    GraphNodeBase.RotateAt(PointF, Single)
    GraphNodeBase.Rotate(Single)
    GraphNodeBase.FullName
    GraphNodeBase.Node
    GraphNodeBase.Added
    GraphNodeBase.Bounds
    GraphNodeBase.Location
    GraphNodeBase.X
    GraphNodeBase.Y
    GraphNodeBase.Size
    GraphNodeBase.Width
    GraphNodeBase.Height
    GraphNodeBase.Center
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    System.Collections.ArrayList

    Distance

    Gets or sets the distance

    Declaration
    public float Distance { get; set; }
    Property Value
    Type Description
    System.Single

    Parents

    Gets or sets this node's parents.

    Declaration
    public ArrayList Parents { get; set; }
    Property Value
    Type Description
    System.Collections.ArrayList

    Tag

    Gets or sets tag field.

    Declaration
    public object Tag { get; set; }
    Property Value
    Type Description
    System.Object

    Visited

    Gets or sets whether the node has been traversed or not.

    Declaration
    public bool Visited { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    GetAllConnections()

    Gets all connection to other nodes.

    Declaration
    public ArrayList GetAllConnections()
    Returns
    Type Description
    System.Collections.ArrayList

    The node connections.

    Implements

    IGBounds
    IGTransform
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved