CompleteGraph

CompleteGraph[n]
creates a complete graph on n vertices. An option that takes on the values Directed or Undirected is allowed. The default setting for this option is Type->Undirected.


creates a complete -partite graph of the prescribed shape. The use of to create a complete -partite graph is obsolete; use CompleteKPartiteGraph instead.

Details and OptionsDetails and Options

New to Mathematica? Find your learning path »
Have a question? Ask support »