documentationfor yFiles for HTML 3.0.0.3

Properties

traversalDirectionin BfsGets or sets a value indicating whether to follow only incoming, only outgoing, BOTH only incoming and only outgoing, or any edges independent of their direction.
traversalDirectionin NeighborhoodGets or sets a value indicating whether to follow only incoming, only outgoing, BOTH only incoming and only outgoing, or any edges independent of their direction.

Method Return Values

from (TraversalDirection)in TraversalDirectionConverts the given argument to an enum constant of this enum type.

Method Parameters

Bfs ()in Bfs
bfs (LayoutGraph, IEnumerable<LayoutNode>, IMapper<LayoutNode,number>?, TraversalDirection?, number?)in LayoutGraphAlgorithmsExecutes a breadth-first search (BFS) on a directed or undirected graph, returning the nodes organized into layers.
Neighborhood ()in Neighborhood
from (TraversalDirection)in TraversalDirectionConverts the given argument to an enum constant of this enum type.
getName (TraversalDirection)in TraversalDirectionReturns the name of the given enum constant.