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 .
更多信息和选项
- 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 语言函数,https://reference.wolfram.com/language/Combinatorica/ref/Highlight.html.
文本
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 年