Even Vertex

Author

Eric W. Weisstein
May 31, 2004

This notebook downloaded from http://mathworld.wolfram.com/notebooks/GraphTheory/EvenVertex.nb.

For more information, see Eric's MathWorld entry http://mathworld.wolfram.com/EvenVertex.html.

©2005 Wolfram Research, Inc. except for portions noted otherwise

Figure

g=RandomGraph[10,.5];

Show[Graphics[{showGraph[g,PlotStyles->{PointSize[.03]},VertexColors->{If[OddQ[#],Red,Blue]&/@VertexDegrees[g]}][[1]],Text[#1,#2]&@@@Transpose[{VertexDegrees[g],1.1Vertices[g]}]}],AspectRatio->Automatic]