Home > @i2analyze/notebook-sdk > app > INodeEditor > setCenter
app.INodeEditor.setCenter() method
Moves the node to be centered at a particular position on the chart.
Signature:
setCenter(position: visual.IPosition): this;
Introduced: version 1.2
Parameters
Parameter | Type | Description |
---|---|---|
position | visual.IPosition | The position to move the node to. |
Returns:
this
The node, with its position set to the specified value.