Force nodes to my graph

2 次查看(过去 30 天)
I have the next problem. I try to create a graph with 24 nodes, but the last three are deleted because there is no edge that go to them.
How can I force my graph to have 24 nodes?
GRAFO.png

采纳的回答

Ridwan Alam
Ridwan Alam 2019-12-18
plot(digraph(o,d,[],24))

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graph and Network Algorithms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by