WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IGraphEdge - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IGraphEdge

    Interface to an edge in a graph.

    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public interface IGraphEdge
    Remarks

    An edge links together two nodes in a graph. It provides a path between two nodes. IGraphNode

    Properties

    EdgeWeight

    Gets Weight value associated with the edge.

    Declaration
    int EdgeWeight { get; }
    Property Value
    Type Description
    System.Int32

    FromNode

    Gets Node connected to the tail of the edge.

    Declaration
    IGraphNode FromNode { get; }
    Property Value
    Type Description
    IGraphNode

    ToNode

    Gets Node connected to the head of the edge.

    Declaration
    IGraphNode ToNode { get; }
    Property Value
    Type Description
    IGraphNode

    Methods

    IsNodeEntering(IGraphNode)

    Determines if this edge is entering the given node.

    Declaration
    bool IsNodeEntering(IGraphNode graphNode)
    Parameters
    Type Name Description
    IGraphNode graphNode

    Node to test.

    Returns
    Type Description
    System.Boolean

    True if edge is entering the given node.

    IsNodeLeaving(IGraphNode)

    Determines if this edge is leaving the given node.

    Declaration
    bool IsNodeLeaving(IGraphNode graphNode)
    Parameters
    Type Name Description
    IGraphNode graphNode

    Node to test.

    Returns
    Type Description
    System.Boolean

    True if edge is leaving the given node.

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