I am using the commands given here to convert the following image to a graph of vertices and edges.
InputImage = link
SimplifiedImage=Pruning[Thinning[
DeleteSmallComponents[Binarize[Image], 40000]], \[Infinity]]
OutputImage = ![enter image description here](https://community.wolfram.com//c/portal/getImageAttachment?filename=BagahSimplified.jpeg&userId=1555685)
OutputImage contains some kinks that are not present in the original images. Also, there are some unfinished node-edge connections. The overall image has some disconnected segments.
When the Output Image is converted to a graph, knots appear in the graph.
Graph = MorphologicalGraph[OutputImage]
![enter image description here](https://community.wolfram.com//c/portal/getImageAttachment?filename=Graph.jpeg&userId=1555685)
I would like to ask for suggestions on how to obtain a complete image without disconnections and knots.