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, 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 not either a positive number or undefined.
Remarks
A size of 0 is valid, and indicates that the node group has no border - equivalent to setBorderColor(null).