Home > @i2analyze/notebook-sdk > app > INodeEditor > setSize
app.INodeEditor.setSize() method
Sets or resets the size of the node.
Signature:
setSize(size: visual.NodeSize | undefined): this;
Introduced: version 1.2
Parameters
| Parameter | Type | Description | 
|---|---|---|
| size | visual.NodeSize | undefined | The size to set, or undefined to reset the size to 1. | 
Returns:
this
The node, with its size set to the specified value.