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