DiscreteMath`GraphPlot`
GraphPlot functionality is now available in the newly added built-in Mathematica kernel functions GraphPlot and LayeredGraphPlot.
GraphPlot3D is now available as the newly added built-in Mathematica kernel function GraphPlot3D.
TreePlot is now available as the newly added built-in Mathematica kernel function TreePlot.
GraphDistance, PseudoDiameter, MaximalBipartiteMatching, MaximalIndependentVertexSet, MaximalIndependentEdgeSet, MinCut, StrongComponents, and VertexList are now available through the newly created Graph Utilities Package.
The EdgeStyleFunction option is now available as the newly added built-in Mathematica kernel option EdgeRenderingFunction.
The TreeSizeFunction option is now available as the newly added built-in Mathematica kernel option LayerSizeFunction.
The VertexCoordinates option is now available as the newly added built-in Mathematica kernel option VertexCoordinateRules.
The VertexStyleFunction option is now available as the newly added built-in Mathematica kernel option VertexRenderingFunction.
The RootPosition option is now available as the second argument to the built-in Mathematica kernel function TreePlot.
GraphPlot
Plot a graph specified by a rule list:
GraphPlot3D
TreePlot
EdgeRenderingFunction
Use EdgeRenderingFunction to control the way edges are drawn:
Alternate ways to draw edges as arrows:
LayerSizeFunction
This plots the same graph, but with the height of each level i proportional to 1/i2:
VertexCoordinates
Use VertexCoordinateRules to specify explicit coordinates for vertices:
VertexStyleFunction
Use VertexRenderingFunction to control the way vertices are drawn. This draws no vertices:
This draws large blue vertices:
RootPosition (Argument to TreePlot)
This plots the tree by placing the root to the left:
Many functions from DiscreteMath`GraphPlot` are now available through the Graph Utilities Package.
This plots a graph of 37 vertices:
This calculates the pseudo-diameter of the graph:
This confirms that the distance between vertices 1 and 25 is indeed 6: