The star graph is a special class of the general windmill graph class, in particular, it is windmill(2,n). A star graph is best visualized having one vertex in the center of a circle of other vertices. The edge set is formed by connecting this center vertex to each of the outside vertices. The outside vertices are only connected to the center vertex.
|
The object starGraph is a method function.