Skip to main content

CircularLayoutParameters

Parameters for the circular layout.

Extends

Properties

centerContent?

optional centerContent: boolean

Whether or not to shift the layout so that the origin is [width/2, height/2] and not [0,0]. This is useful in situations such as groups, where elements cannot be placed in a negative position in either axis (due to there being no facility to pan the group canvas)


centerRoot?

optional centerRoot: boolean

If true, the first node in the data set will be placed in the center of the circle. Defaults to false.


height?

optional height: number

Optional fixed height for the layout.

Inherited from

LayoutParameters.height


locationFunction?

optional locationFunction: LocationFunction

Optional function that, given some vertex, can provide the x/y location of the vertex on the canvas

Inherited from

LayoutParameters.locationFunction


padding?

optional padding: PointXY

Optional padding to put around the elements.

Inherited from

LayoutParameters.padding


width?

optional width: number

Optional fixed width for the layout.

Inherited from

LayoutParameters.width