GraphTheory
HighlightedEdges
retrieve the highlighted edges from a graph
Calling Sequence
Parameters
Description
Examples
HighlightedEdges( G )
G
-
graph
The HighlightedEdges command returns a set (which may be empty) of the edges of a graph G that have been highlighted.
An edge is considered to have been highlighted if it is to be drawn with a color other than the default.
with⁡GraphTheory:
G≔CompleteGraph⁡5:
HighlightedEdges⁡G
∅
T≔SpanningTree⁡G:
HighlightEdges⁡G,Edges⁡T,Red
1,2,1,3,1,4,1,5
See Also
HighlightEdges
HighlightedVertices
HighlightSubgraph
HighlightTrail
HighlightVertex
Download Help Document