Plotting graph objects with curved edges and forced layout
Show older comments
I have a graph that I want to plot in a specific layout. My closest attempt is
plot(G,'layout',,'layered','Sources',[1 6] ,'Sinks',[5 10],'direction','right','linewidth',LWidths);
...

I can force X and Y coordinates of nodes in my graph to achieve the layout I want by using:
plot(G,'layout','force','Iterations',0,'XStart',X,'YStart',Y,'linewidth',LWidths);
...
However, this method causes some edges to overlap and become indistinguishable.

Is there any way to get curved edges at this point?
Accepted Answer
More Answers (1)
Sean de Wolski
on 5 Aug 2016
0 votes
Categories
Find more on Graph and Network Algorithms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!