I have a graph of 124 edges and 125 vertices, then I remove some branches randomly:
then when I want to plot the graph:
I got the following error:
Expected XData to be an array with number of elements equal to 124.
I know its because graph function reduces number of nodes, but I don't want to, my node coordinates are fixed. Please would anyone give me some help?