MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

changing style of vertices for ShowGraph with Combinatorica

With Mathematica 6, I can change the default style (medium black disk) 
for rendering the vertices of a Combinatorica Graph like this:


   g = Cycle[3];
   ShowGraph[g, VertexStyle -> Disk[Large], VertexColor -> Red]

But how can I, for example, change the vertex style so it is, say, a 
large yellow disk with a thick red boundary?  Or even just change it to 
be a circle?  I tried "obvious" things like the following, but they 
cause errors:

   ShowGraph[g, VertexStyle -> Graphics[Circle[], ImageSize -> 20]]

Murray Eisenberg                     murray at
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

  • Prev by Date: Re: Assignment problem
  • Next by Date: Re: 64-bit problems with Mac version
  • Previous by thread: ResetMenusPacket in version 6
  • Next by thread: Re: changing style of vertices for ShowGraph with Combinatorica