Highlight[g,p]
displays with elements in
highlighted. The second argument
has the form
, where the
are disjoint subsets of vertices and edges of
.


Highlight
Highlight[g,p]
displays with elements in
highlighted. The second argument
has the form
, where the
are disjoint subsets of vertices and edges of
.
Details and Options
- Highlight functionality is now available in the built-in Wolfram Language function HighlightGraph.
- To use Highlight, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
- The options HighlightedVertexStyle, HighlightedEdgeStyle, HighlightedVertexColors, and HighlightedEdgeColors are used to determine the appearance of the highlighted elements of the graph.
- The default settings of the style options are HighlightedVertexStyle->Disk[Large] and HighlightedEdgeStyle->Thick.
- The options HighlightedVertexColors and HighlightedEdgeColors are both set to {Black, Red, Blue, Green, Yellow, Purple, Brown, Orange, Olive, Pink, DeepPink, DarkGreen, Maroon, Navy}.
- The colors are chosen from the palette of colors with color 1 used for
, color 2 used for
, and so on. If there are more parts than colors, then the colors are used cyclically.
- The function permits all the options that SetGraphOptions permits, for example, VertexColor, VertexStyle, EdgeColor, and EdgeStyle. These options can be used to control the appearance of the non-highlighted vertices and edges.
See Also
Tech Notes
Related Guides
-
▪
- Combinatorica Package ▪
- Displaying Graphs ▪
- Graphs & Networks ▪
- Graph Visualization ▪
- Computation on Graphs ▪
- Graph Construction & Representation ▪
- Graphs and Matrices ▪
- Graph Properties & Measurements ▪
- Graph Operations and Modifications ▪
- Statistical Analysis ▪
- Social Network Analysis ▪
- Graph Properties ▪
- Mathematical Data Formats ▪
- Discrete Mathematics
Text
Wolfram Research (2012), Highlight, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/Highlight.html.
CMS
Wolfram Language. 2012. "Highlight." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/Highlight.html.
APA
Wolfram Language. (2012). Highlight. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/Highlight.html
BibTeX
@misc{reference.wolfram_2025_highlight, author="Wolfram Research", title="{Highlight}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/Highlight.html}", note=[Accessed: 13-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_highlight, organization={Wolfram Research}, title={Highlight}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/Highlight.html}, note=[Accessed: 13-August-2025]}