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 =
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]
I would like to ask for suggestions on how to obtain a complete image without disconnections and knots.