dolayout (biograph)
(Removed) Calculate node positions and edge trajectories
Syntax
dolayout(
BGobj
)
dolayout(BGobj
,
'Paths', PathsOnlyValue
)
Arguments
BGobj
| Biograph object created by the biograph function
(object constructor). |
PathsOnlyValue
| Controls the calculation of only the edge paths, leaving the nodes at
their current positions. Choices are true or
false (default). |
Description
dolayout(
calls
the layout engine to calculate the optimal position for each node so that its 2-D
rendering is clean and uncluttered, and then calculates the best curves to represent the
edges. The layout engine uses the following properties of the biograph object: BGobj
)
LayoutType
— Specifies the layout engine as'hierarchical'
,'equilibrium'
, or'radial'
.LayoutScale
— Rescales the sizes of the node before calling the layout engine. This gives more space to the layout and reduces the overlapping of nodes.NodeAutoSize
— Controls precalculating the node size before calling the layout engine. WhenNodeAutoSize
is set to'on'
, the layout engine uses the node propertiesFontSize
andShape
, and the biograph object propertyLayoutScale
to precalculate the actual size of each node. WhenNodeAutoSize
is set to'off'
, the layout engine uses the node propertySize
.
For more information on the above properties, see Properties of a Biograph Object.
dolayout(
controls the calculation of only the edge paths, leaving the nodes at their current
positions. Choices are BGobj
,
'Paths', PathsOnlyValue
)true
or false
(default).