I need to make a K7,2 partite graph , with deleting 2 vertices and plus 2 more random edges , and after that my vertices should be green color.
I made the graph K7,2 and deleted 2 vertices with this code :
Needs["Combinatorica`"]; a = CompleteGraph[7, 2]; b =
Fold[DeleteVertex, a, {3, 4}]; ShowGraph[b,
VertexLabel -> (Style[#, 18] & /@ Drop[Range[9], {3, 4}]),
ImageSize -> 200]
But now i need something which can delete 2 more random edges , and plus color my vertices green
Thanks,