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]