I am having a road network shapefile. I want to split it into smaller edges in such a way that each edge consist of two diversions. I am unable to do so.
Here n1, n2 and n3 are any three adjacent points in the road network which are diversions.
I want to convert this road network into a graph.