Home > @i2analyze/notebook-sdk > app > IEdgeEditor > setLineStyle
app.IEdgeEditor.setLineStyle() method
Sets or resets the line style of the edge.
Signature:
setLineStyle(lineStyle: visual.LineStyle | undefined): this;
Introduced: version 1.9
Parameters
| Parameter | Type | Description |
|---|---|---|
| lineStyle | visual.LineStyle | undefined | The line style to set, or undefined to reset to the default ('solid'). |
Returns:
this
The edge, with its line style set to the specified value.