g3-toolkit API Reference
Preparing search index...
core/src
findShortestPath
Function findShortestPath
findShortestPath
(
ugm
:
UGM
,
sourceId
:
string
,
targetId
:
string
,
options
?:
PathOptions
,
)
:
PathResult
Find the shortest path between two nodes using BFS.
Parameters
ugm
:
UGM
sourceId
:
string
targetId
:
string
Optional
options
:
PathOptions
Returns
PathResult
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
g3-toolkit API Reference
Loading...
Find the shortest path between two nodes using BFS.