Download mavolcanoplot

Transcript
graphtraverse
4 Traverse the graph to find the breadth-first search (BFS) discovery
order starting at node 4.
order = graphtraverse(DG,4,'Method','BFS')
order =
4
5
3
6
7
1
9
8
2
10
5 Label the nodes with the BFS discovery order.
for i = 1:10
h.Nodes(order(i)).Label =...
sprintf('%s:%d',h.Nodes(order(i)).ID,i);
end
h.ShowTextInNodes = 'label'
dolayout(h)
2-303