StarGraph

StarGraph[n]
gives the star graph with n vertices .

Details and OptionsDetails and Options

  • A star graph of order is a tree with one vertex of degree and the remaining vertices of degree one.
  • StarGraph[n, DirectedEdges->True] gives a star graph where all edges are directed from the vertex of degree to the remaining vertices.
  • StarGraph takes the same options as Graph.
New in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »