StarGraph
StarGraph[n] gives the star graph with n vertices.
Examples
Create a star graph:
StarGraph[5]With styling:
StarGraph[7, VertexLabels -> Automatic]Please visit the official Wolfram Language Reference for more details.
StarGraph[n] gives the star graph with n vertices.
Create a star graph:
StarGraph[5]With styling:
StarGraph[7, VertexLabels -> Automatic]Please visit the official Wolfram Language Reference for more details.