I'm not sure if this is considered grid-based, because as you can see there is also a line. And that line is also a non-walkable point, I have no idea how do I create a path-finder with a non-grid-based. Currently I am using pacman-astar grid-based pathfinder, but it won;t fit to my game because I am using a line to block a characters path.
In the image below is the map with lines.
In the image below is the graph, white is walkable, black is not.
In the image below is the actual path-finding, as you can see in the red circle still passing through because I am using gridbased.