problem with plot Directed graph in Matlab

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
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
Maria Afsharirad
Maria Afsharirad 2020 年 10 月 11 日
I do have the same problem, but it sounds there is no solution for it!!

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeNetworks についてさらに検索

質問済み:

2020 年 3 月 19 日

コメント済み:

2020 年 10 月 11 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by