documentationfor yFiles for HTML 3.0.0.2

LayoutNode

Represents a node in the directed graph data structure LayoutGraph.

Inheritance Hierarchy
LayoutGraphItem
LayoutNode
Implemented Interfaces

Remarks

A node in a directed graph provides access to its adjacent edges, which are instances of the LayoutEdge class. These edges can be categorized into two sets: incoming edges and outgoing edges.

This class offers IEnumerable<T>s for iterating over the edges associated with the node, providing a read-only view of each edge set. Utilize the methods edges, inEdges, and outEdges for edge iteration.

The total number of edges connected to this node is referred to as its degree (degree), which is the sum of incoming edges (inDegree) and outgoing edges (outDegree).

Important: Structural modifications to the graph must be managed through the LayoutGraph class. To create or delete a LayoutNode or an LayoutEdge, use the appropriate methods provided by the LayoutGraph instance.

This class cannot be instantiated

Type Details

yFiles module
algorithms

See Also

Properties

Methods