This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# GraphLayout

 GraphLayout is an option to Graph and related functions that specifies what layout to use for graph components and collections of components.
• With the setting GraphLayout, layout is used for each connected component and packing is used to put the component layouts together.
• Possible settings for include:
 Automatic automatically select layout None do not compute a layout "CircularEmbedding" place vertices on a circle "HighDimensionalEmbedding" place vertices in high dimension according to spring-electrical embedding and project down "LayeredDrawing" place vertices in several layers in such a way as to minimize edges between non-adjacent layers "LinearEmbedding" place vertices on a line "RadialEmbedding" place vertices in concentric circles "RandomEmbedding" place vertices randomly "SpiralEmbedding" place vertices on a spiral "SpringElectricalEmbedding" place vertices so that they minimize mechanical and electrical energy when each vertex has a charge and each edge corresponds to a spring "SpringEmbedding" place vertices so that they minimize mechanical energy when each edge corresponds to a spring
• Possible settings for include:
 "ClosestPacking" approximate closest packing from the top left "ClosestPackingCenter" approximate closest packing from the center "Layered" arrange in layers starting at the top left "LayeredLeft" arrange in layers starting at the left "LayeredTop" arrange in layers starting at the top "NestedGrid" arrange on a nested grid
Graph layouts on particular curves:
Graph layouts that satisfy optimality criteria:
Graph layouts on particular curves:
 Out[1]=

Graph layouts that satisfy optimality criteria:
 Out[1]=
 Scope   (12)
Place vertices on a circle:
Place vertices in several layers in such a way to minimize edges between non-adjacent layers:
Place vertices on a spiral:
Place vertices so that they minimize mechanical and electrical energy when each vertex has charge and each edge corresponds to a spring:
Draw a random tree:
Place vertices so that they minimize mechanical energy when each edge corresponds to a spring:
Use GraphLayout->None to obtain a graph with no layout at all:
Useful for large graphs:
GraphLayout can be used for general graphs:
Matrix graphs:
Special graphs:
Random graphs:
VertexCoordinates overrides GraphLayout coordinates:
Use AbsoluteOptions to extract VertexCoordinates computed using a layout algorithm:
New in 8