Force nodes to my graph

1 visualizzazione (ultimi 30 giorni)
Nathalia Wolf
Nathalia Wolf il 18 Dic 2019
Modificato: Ridwan Alam il 19 Dic 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

Risposta accettata

Ridwan Alam
Ridwan Alam il 18 Dic 2019
plot(digraph(o,d,[],24))
  2 Commenti
Nathalia Wolf
Nathalia Wolf il 18 Dic 2019
thank you!
Ridwan Alam
Ridwan Alam il 18 Dic 2019
Modificato: Ridwan Alam il 19 Dic 2019
Sure. Glad to help.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Graph and Network Algorithms in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by