- members
Elements within the hull, including nodes and edges (character vector, required).
- key
Unique identifier for the plugin (string, default: NULL).
- concavity
Concavity parameter, larger values create less concave hulls (number, default: Infinity).
- corner
Corner type: "rounded", "smooth", or "sharp" (string, default: "rounded").
- padding
Padding around the elements (number, default: 10).
- label
Whether to display the label (boolean, default: TRUE).
- labelText
Label text content. Default to NULL.
- labelPlacement
Label position: "left", "right", "top", "bottom", or "center" (string, default: "bottom").
- labelBackground
Whether to display the background (boolean, default: FALSE).
- labelPadding
Label padding (number or numeric vector, default: 0).
- labelCloseToPath
Whether the label is close to the hull (boolean, default: TRUE).
- labelAutoRotate
Whether the label rotates with the hull, effective only when
closeToPath is true (boolean, default: TRUE).
- labelOffsetX
X-axis offset (number, default: 0).
- labelOffsetY
Y-axis offset (number, default: 0).
- labelMaxWidth
Maximum width of the text, exceeding will be ellipsized (number, default: 0).
- ...
Other options.
See https://g6.antv.antgroup.com/en/manual/plugin/hull.