GraphTheory
HighlightedVertices
retrieve the highlighted vertices from a graph
Calling Sequence
Parameters
Description
Examples
HighlightedVertices( G )
G
-
graph
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.
with⁡GraphTheory:
G≔CompleteGraph⁡5:
HighlightedVertices⁡G
HighlightVertex⁡G,1,4,PaleGreen
1,4
See Also
HighlightedEdges
HighlightEdges
HighlightSubgraph
HighlightTrail
HighlightVertex
Download Help Document