MATLAB: How to add edges to a graph plot using GraphPlot handle

figuregraphgraph theorygraphplotplot

Is it possible to update a graphplot figure to add edges or nodes, using GraphPlot handle? What is the most efficient way to do this instead of calling
plot(graph)
function repeatedly.

Best Answer

There is currently no way to do this, the edges and nodes must be modified on the graph or digraph, and then this can be passed into the plot function.
Could you say some more about why you would prefer to modify them directly on the GraphPlot object?
Related Question