Home > @i2analyze/notebook-sdk > app > IEdgeEditor > setWidth
app.IEdgeEditor.setWidth() method
Sets or resets the width of the edge.
Signature:
setWidth(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 1. | 
Returns:
this
The edge, with its width set to the specified value.