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 |
---|
System.Int32 |
FromNode
Gets Node connected to the tail of the edge.
Declaration
IGraphNode FromNode { get; }
Property Value
Type |
---|
IGraphNode |
ToNode
Gets Node connected to the head of the edge.
Declaration
IGraphNode ToNode { get; }
Property Value
Type |
---|
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. |