StarGraph - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


GraphTheory[SpecialGraphs]

  

StarGraph

  

construct star graph

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

StarGraph(n)

Parameters

n

-

non-negative integer

Description

• 

The StarGraph(n) command returns the star graph with n leaves. Namely it returns the complete bipartite graph CompleteGraph(1,n).

Examples

withGraphTheory:

withSpecialGraphs:

GStarGraph5

GGraph 1: an undirected graph with 6 vertices and 5 edge(s)

(1)

IsTreeG

true

(2)

DrawGraphG

See Also

SpecialGraphs