dijkstra
This block is part of the a* path finding group and was last modified in core v10.4.28.
dijkstra v10.4.28 In pins 7 + flow
- flow
- start at
arrayrequiredArray [x (Number), y (Number)]
- stop at
arrayrequiredArray [x (Number), y (Number)]
- grid width
numberrequired - grid height
numberrequired - tiles
arrayrequiredArray Matrix or Array of States
- allow diagonal
conditionDefault: false
- cross corners
conditionDefault: false
Out pins 2 + flow
- flow
- path Matrix
array - path Readable
array
A typical wiring for dijkstra: a function trigger starts the flow; with values feeds the start pin; with values feeds the end pin; number feeds the width pin; number feeds the height pin; with values feeds the tiles pin; the flow out pin feeds debug.
Version history
Introduced in v10.4.28.
Back to
a* path finding Return to the main group to view all sub-groups Back to pathfinding Return to the group to view all blocks within this group 