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 array required

    Array [x (Number), y (Number)]

  • stop at array required

    Array [x (Number), y (Number)]

  • grid width number required
  • grid height number required
  • tiles array required

    Array Matrix or Array of States

  • allow diagonal condition

    Default: false

  • cross corners condition

    Default: 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.

Studio canvas example for the dijkstra block: typical wiring for dijkstra.

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