Home > @i2analyze/notebook-sdk > app > IEdgeSummaryEditor > setColor
app.IEdgeSummaryEditor.setColor() method
Sets or clears the color override on the edge summary line.
Signature:
setColor(color: string | undefined): this;
Introduced: version 1.10
Parameters
| Parameter | Type | Description |
|---|---|---|
| color | string | undefined |
The color to set, or undefined to clear the override.
|
Returns:
this
This editor, for chaining.
Exceptions
Error if the value is not undefined or a CSS color string.
Error if the edge summary is no longer live.