| New in Wolfram Mathematica 6: Fully Automated Graph Layout | ◄ previous | next ► |
Put Arbitrary Graphics at Each Vertex
Mathematica 6 allows anything to be put at the vertices of a graph.
In[1]:= | GraphPlot[
Flatten[Thread[# -> CountryData[#, "BorderingCountries"]] & /@
CountryData["SouthAmerica"]],
VertexRenderingFunction -> (Inset[
Show[CountryData[#2, "Shape"], ImageSize -> 30], #] &),
MultiedgeStyle -> None] |
Out[1]= ![]() | ![]() |



