Perform a depth-first search on the graph. Specify'allevents'to return all events in the algorithm. Also, specifyRestartastrueto ensure that the search visits every node in the graph. T = dfsearch(G, 1,'allevents','Restart', true) ...
http://www.mathworks.com/help/matlab/math/visualize-breadth-first-and-depth-first-search.html 0 Comments Sign in to comment. Christine Tobleron 1 Aug 2017 0 Link Edited:Christine Tobleron 1 Aug 2017 Open in MATLAB Online This should be possible using the digraph object. Since you are modify...