WOLFRAM|DEMONSTRATIONS PROJECT

Highlight Graph Elements

​
number of vertices
9
highlight style
Dashed
Mathematica 8 has an extensive collection of built-in graph highlight styles. Here we highlight a small branch of a graph on a chosen number of vertices in which
i
is joined to
j
, where
j=i/2
if
i
is even,
j=i-1
if
i
is odd.