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
.
更多信息和选项
- 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.
相关指南
-
▪
- 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
文本
Wolfram Research (2012),Highlight,Wolfram 语言函数,https://reference.wolfram.com/language/Combinatorica/ref/Highlight.html.
CMS
Wolfram 语言. 2012. "Highlight." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/Highlight.html.
APA
Wolfram 语言. (2012). Highlight. Wolfram 语言与系统参考资料中心. 追溯自 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: 19-September-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: 19-September-2025]}