gives the star graph with n vertices .
Details 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.
Basic Examples (2)
The first few star graphs :
Directed star graphs:
Properties & Relations (6)