MATLAB Answers

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

  0 Comments

Sign in to comment.

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
Sure. Glad to help.

Sign in to comment.

More Answers (0)

Sign in to answer this question.