API REFERENCE
layout
Bubble: xy or pack. Network Graph: deterministic circular, force, or top-to-bottom hierarchical placement.
Definition
| Item | Value |
|---|---|
| JavaScript property | layout |
| HTML attribute | layout |
| Type | string |
| Default | undefined |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
Configuration example
// Register sy-network-graph and create the element before configuring it.
chart.layout = "circular";