StarGraph(5).mws
>
with(GraphTheory):with(SpecialGraphs):
>
G := StarGraph(5);
>
DrawGraph(G);
>
DrawGraph(G,style=spring,dimension=3);
>
A Characterization of Graphs of Diameter Two