API REFERENCE

layout

Bubble: xy or pack. Network Graph: deterministic circular, force, or top-to-bottom hierarchical placement.

Definition

ItemValue
JavaScript propertylayout
HTML attributelayout
Typestring
Defaultundefined

undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.

Configuration example

javascript
// Register sy-network-graph and create the element before configuring it.
chart.layout = "circular";