switchyard
Home
Guide
GitHub
Preparing search index...
@switchyard-ts/test
shortestPaths
Function shortestPaths
shortestPaths
<
M
extends
Machine
<
unknown
>
>
(
create
:
()
=>
M
,
options
?:
PathOptions
<
M
>
,
)
:
ModelPath
[]
One shortest event path to every reachable state, breadth first.
Type Parameters
M
extends
Machine
<
unknown
>
Parameters
create
:
()
=>
M
options
:
PathOptions
<
M
>
= {}
Returns
ModelPath
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Home
Guide
GitHub
switchyard
Loading...
One shortest event path to every reachable state, breadth first.