easystarjs
easystarjs copied to clipboard
Enable L-R diagonal only and disable R-L diagonal
My grid is a hexagonal grid, so the traversal is different from square grid. As illustrated below:
I want to disable R-L diagonal traversal but can't find via the API. I would have to call . setDirectionalCondition
to every cell in the grid which would degrade performance of my app.
Can an option be added to enable/disable L-R and R-L diagonals directly from the options?