This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
BUILT-IN MATHEMATICA SYMBOL|See Also »

PackingMethod

PackingMethod
is an option for GraphPlot and related functions which specifies how disconnected components should be packed together in the layout produced.
  • Typical possible settings are:
"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
Draw a disconnected graph:
Draw the graph with a different packing method:
Draw a disconnected graph:
In[1]:=
Click for copyable input
Out[1]=
 
Draw the graph with a different packing method:
In[1]:=
Click for copyable input
Out[1]=
Draw a disconnected graph:
Compare different packing methods:
New in 6