emphasizeroute - Emphasize a connection route with colors
Change the edge color of arcs belonging to the path c. l is the path length.
D=300; L=1000; n=30; i=1; j=15; [g]=ntg_locality(D,L,n); g=weightgraph(g); [table_routage_1]=routingdijkstra(g); ind=(i-1)*n+j; l1=table_routage_1(ind,1); c1=table_routage_1(ind,2:2+l1-1); edgecolor=1*ones(g.tail); [edgecolor]=emphasizeroute(l1,c1,g,edgecolor,5); g1=g; g1('edge_color')=edgecolor; show_graph(g1);