Home > @i2analyze/notebook-sdk > app > INodeGroupEditor > setBorderWidth
app.INodeGroupEditor.setBorderWidth() method
Sets or resets the border width of the node group.
Signature:
setBorderWidth(width: number | undefined): this;
Introduced: version 1.8
Parameters
| Parameter | Type | Description |
|---|---|---|
| width | number | undefined | The width to set (valid range is 1 to 32), or undefined to reset the width to the theme default. |
Returns:
this
The node group, with its border width set to the specified value.
Exceptions
Error if the specified value is neither undefined nor a number in the range 1 to 32.