Home > @i2analyze/notebook-sdk > app > INodeEditor
app.INodeEditor interface
A set of methods for modifying the appearance of a node.
Signature:
interface INodeEditor extends IElementEditorBase
Extends: IElementEditorBase
Introduced: version 1.2
Methods
Method | Description |
---|---|
setCenter(position) | Moves the node to be centered at a particular position on the chart. |
setColor(color) | Sets or resets the color of the element. (Inherited from IElementEditorBase) |
setImage(href, description) | Sets the image for the node. |
setImage(href) | Resets the image for the node to the default one, which might be the entity type icon or a source reference image. |
setLabel(label) | Sets or resets the label of the element. (Inherited from IElementEditorBase) |
setSize(size) | Sets or resets the size of the node. |