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.
withGraphTheory:
G≔CompleteGraph5:
HighlightedVerticesG
HighlightVertexG,1,4,PaleGreen
1,4
See Also
HighlightedEdges
HighlightEdges
HighlightSubgraph
HighlightTrail
HighlightVertex
Download Help Document