problem with plot Directed graph in Matlab
7 次查看(过去 30 天)
显示 更早的评论
I'm tring to plot a directed Grapph (a road network). However, when I use graph.plot it connects two links with two arcs (as default) since it's a Digraph so I was wondering how can I plot two connected nodes with two links with straight lines.

2 个评论
Ayush Gupta
2020-3-24
Since it is a multigraph, the edges are in an arc shape, so that they do not coincide and helps avoid confusion. You will be seeing straight lines in the case of a simple graph. Please refer to the doc for example on plotting directed graphs
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!