GraphTheory - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

GraphTheory

  

HighlightedVertices

  

retrieve the highlighted vertices from a graph

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

HighlightedVertices( G )

Parameters

G

-

graph

Description

• 

The HighlightedVertices command returns a list (which may be empty) of the vertices of a graph G that have been highlighted.

• 

A vertex is considered to have been highlighted if it is to be drawn with a color other than the default.

Examples

withGraphTheory:

GCompleteGraph5:

HighlightedVerticesG

(1)

HighlightVertexG,1,4,PaleGreen

HighlightedVerticesG

1,4

(2)

See Also

HighlightedEdges

HighlightEdges

HighlightSubgraph

HighlightTrail

HighlightVertex