Combinatorica`
Combinatorica`
Highlight
As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. »
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.
Wolfram Research (2012), Highlight, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/Highlight.html.
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