Area Movement


My first post on this forum. Excuse for my English, I’m not a native speaker.

I’m developing a module for Blitzwar. I’ts an areas game. The basic game is totally playable. It has all maps, cards and counters. Now I’m trying to put some “intelligence” on the module

First I’m trying to limit the movement from one area to only adjacent areas, and then be able to count movement points.

I have it clear how to do it on rectangular and hexagonal grids. But I’m unable to do it on irregular grids.

Any hint will be welcome.

Thanks in advance.