Force nodes to my graph

1 view (last 30 days)
Nathalia Wolf
Nathalia Wolf on 18 Dec 2019
Edited: Ridwan Alam on 19 Dec 2019
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

Accepted Answer

Ridwan Alam
Ridwan Alam on 18 Dec 2019
plot(digraph(o,d,[],24))
  2 Comments
Nathalia Wolf
Nathalia Wolf on 18 Dec 2019
thank you!
Ridwan Alam
Ridwan Alam on 18 Dec 2019
Edited: Ridwan Alam on 19 Dec 2019
Sure. Glad to help.

Sign in to comment.

More Answers (0)

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!