@graphty/layout / index / spiral
Function: spiral()
spiral(
s,options?):LayoutResult
Defined in: indexed/spiral.ts:58
Nodes along an Archimedean spiral from the centre outwards, in node-index order. In 3D the spiral lies in the plane of the centre's z.
Parameters
s
GraphSnapshot
the snapshot; only its node count is read
options?
SpiralLayoutOptions = {}
scale is the distance of the farthest node from the centre
Returns
the layout