MathGroup Archive 2010

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

Search the Archive

Tooltip -- Graphs & Networks

  • To: mathgroup at smc.vnet.net
  • Subject: [mg115016] Tooltip -- Graphs & Networks
  • From: Sok Ödön <soko at econ.core.hu>
  • Date: Tue, 28 Dec 2010 06:51:28 -0500 (EST)

If the graph is big the tooltip is out of order. Does somebody have an idea?

 

g = RandomGraph[BernoulliGraphDistribution[100, 0.2], 

   VertexLabels -> Placed["Name", Tooltip], 

   VertexSize -> {"Scaled", 0.03}, BaseStyle -> EdgeForm[None]];

 

cc = BetweennessCentrality[g];

 

HighlightCentality[g_, cc_] := 

  HighlightGraph[g, 

   Table[Style[VertexList[g][[i]], 

     ColorData["TemperatureMap"][cc[[i]]/Max[cc]]], {i, 

     VertexCount[g]}]];

 

gr = HighlightCentality[g, cc]




  • Prev by Date: VectorFieldPlot problem.
  • Next by Date: Re: newbie list question
  • Previous by thread: Re: VectorFieldPlot problem.
  • Next by thread: Wolfram free input shortcut is "cntrl =" What do we use for underscript now?