Home > @i2analyze/notebook-sdk > app > INodeEditor > setImage
app.INodeEditor.setImage() method
Resets the image for the node to the default one, which might be the entity type icon or a source reference image.
Signature:
setImage(href: undefined): this;
Introduced: version 1.5
Parameters
Parameter | Type | Description |
---|---|---|
href | undefined | undefined is the only valid argument for resetting the image. |
Returns:
this
The node, with its image reset to the default one.