Yog.FSharp
Getting Started Examples API Reference GitHub

Traversal Module

Traversal operations for multigraphs.

Functions and values

Function or value Description

bfs source graph

Full Usage: bfs source graph

Parameters:
Returns: NodeId list

List of visited node IDs in BFS order.


Breadth-first search traversal.

source : NodeId
graph : MultiGraph<'n, 'e>
Returns: NodeId list

List of visited node IDs in BFS order.