GraphHighlightStyle

Source Notebook

The collection of built-in graph highlight styles in the Wolfram Language

Details

The data is imported from and formatted for the Wolfram Language.

(10 elements)

Examples

Basic Examples (4) 

In[1]:=
ResourceData[\!\(\*
TagBox["\"\<GraphHighlightStyle\>\"",
#& ,
BoxID -> "ResourceTag-GraphHighlightStyle-Input",
AutoDelete->True]\)]
Out[1]=

Use built-in settings for that change the highlighting of edges:
In[2]:=
Row[Table[
  Graph[{1 \[UndirectedEdge] 2, 2 \[UndirectedEdge] 3, 3 \[UndirectedEdge] 1}, GraphHighlight -> {1 \[UndirectedEdge] 2, 3}, GraphHighlightStyle -> sty, VertexSize -> Small, PlotLabel -> sty], {sty, {"Dashed", "Dotted", "Thick"}}], Spacer[3]]
Out[2]=

Use built-in settings for that change the highlighting of vertices:
In[3]:=
Row[Table[
  Graph[{1 \[UndirectedEdge] 2, 2 \[UndirectedEdge] 3, 3 \[UndirectedEdge] 1}, GraphHighlight -> {1 \[UndirectedEdge] 2, 3}, GraphHighlightStyle -> sty, VertexSize -> Small, PlotLabel -> sty], {sty, {"VertexTriangle", "VertexDiamond", "VertexConcaveDiamond"}}], Spacer[3]]
Out[3]=

Use built-in settings for that affect non-highlighted items:
In[4]:=
Row[Table[
  Graph[{1 \[UndirectedEdge] 2, 2 \[UndirectedEdge] 3, 3 \[UndirectedEdge] 1}, GraphHighlight -> {1 \[UndirectedEdge] 2, 3}, GraphHighlightStyle -> sty, VertexSize -> Small, PlotLabel -> sty], {sty, {"DehighlightFade", "DehighlightGray", "DehighlightHide"}}], Spacer[3]]
Out[4]=

Wolfram Research, "GraphHighlightStyle" from the Wolfram Data Repository (2022)  

Data Resource History

Source Metadata

Publisher Information