Visibility graph-based path-planning algorithm with quadtree representation | Synapse