GraphTheory[SpecialGraphs] - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Discrete Mathematics : Graph Theory : GraphTheory Package : SpecialGraphs : GraphTheory/SpecialGraphs/StarGraph

GraphTheory[SpecialGraphs]

  

StarGraph

  

construct star graph

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

StarGraph(n)

Parameters

n

-

positive 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

G:=Graph 1: an undirected unweighted graph with 6 vertices and 5 edge(s)

(1)

IsTreeG

true

(2)

DrawGraphG

See Also

SpecialGraphs

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam