How to add edges to a graph plot using GraphPlot handle?

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.

 채택된 답변

Christine Tobler
Christine Tobler 2018년 4월 9일

0 개 추천

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?

댓글 수: 1

I was trying to visualize a dynamic graph, and looking for the most efficient way to plot it to avoid any unnecessary overhead. But it seems that, for now, I have to invoke plot(graph) repeatedly.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Networks에 대해 자세히 알아보기

질문:

2018년 4월 7일

댓글:

2018년 4월 9일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by