easystarjs icon indicating copy to clipboard operation
easystarjs copied to clipboard

Enable L-R diagonal only and disable R-L diagonal

Open johnhorsema opened this issue 5 years ago • 0 comments

My grid is a hexagonal grid, so the traversal is different from square grid. As illustrated below:

0R67b

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?

johnhorsema avatar Jun 05 '19 10:06 johnhorsema