Home > @i2analyze/notebook-sdk > app > IEdgeSummaryEditor
app.IEdgeSummaryEditor interface
A set of methods for modifying the appearance of an edge summary.
Signature:
interface IEdgeSummaryEditor
Introduced: version 1.6
Remarks
Apart from setLabel (which is tracked, persisted, and undoable), every method on this editor sets or clears an untracked style override on the summary line.
Each style setter accepts undefined to clear that single attribute and revert it to the value derived from the member edges. Every style setter throws if the edge summary is no longer live.
Methods
| Method | Description |
|---|---|
| setColor(color) | Sets or clears the color override on the edge summary line. |
| setDirection(direction) | Sets or clears the direction override on the edge summary line. |
| setLabel(label) | Sets or resets the label of the edge summary. |
| setLineStyle(lineStyle) | Sets or clears the line style override on the edge summary line. |
| setWidth(width) | Sets or clears the width override on the edge summary line. |