How to generate all possible connection with graph theory function

A=[0 1 1 1;0 0 1 1;0 1 0 1;0 1 1 0];
G=digraph(A);
plot(G)
I want to store/generate all possible connection like 1-2-3-4,1-3-2-4,1-4-2-3, plot1.JPG

Categorías

Más información sobre Graph and Network Algorithms en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 24 de En. de 2020

Editada:

el 25 de En. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by