Given a graph G I want to find the maximum planar subgraph which is a grid graph. (Because the nodes of this subgraph represent points on a grid).
Is there any library in python for finding the maximum planar subgraph?
Is there some way how to implement these constraints for the grid graph?
Edit: As I understood I am looking for the maximum planar subgraph which is at most 4-connected and at least 2-connected