I implemented custom navigation graph and pathfinding algorithms in few *.gd scripts as extensions of Object.
Graph has functions like addNode/addEdge and removeNode/removeEdge that allow to create it.
Everything is working if I manually create graph.
But how can I create this graph from Editor? Ideally, if it can be done automatically (for i.e. with some kind of flood-fill algorithm).
Can you give me some advices or examples how can I add functionality for graph making to editor?
Should I create this graph in the _ready() function of scene? But ideally to do this on the editing stage and just save graph to file.
P.S. I'm making tactical pathfinding for my game, so, I need custom navigation graph.