1

I have the following code which gives me some random complete graph

rand = {1, 2, 3};
el = EdgeList[CompleteGraph[5]];
g = CompleteGraph[5, VertexLabels -> "Name", 
  EdgeLabels -> Table[el[[i]] -> RandomChoice[rand], {i, Length[el]}]]

What I want is to get every possible graph with edges labeled with numbers from rand.

mclord
  • 177
  • 4

0 Answers0