This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)


Highlight[g, p]
displays g with elements in p highlighted. The second argument p has the form {s_1,s_2,…}, where the s_i are disjoint subsets of vertices and edges of g.
  • The colors are chosen from the palette of colors with color 1 used for s_1, color 2 used for s_2, and so on. If there are more parts than colors, then the colors are used cyclically.