Home > @i2analyze/notebook-sdk > app > INodeGroupEditor
app.INodeGroupEditor interface
A set of methods for modifying the contents and position of a node group.
Signature:
interface INodeGroupEditor
Introduced: version 1.8
Methods
| Method | Description |
|---|---|
| addNodes(nodes) | Adds nodes to the group. |
| removeNodes(nodes) | Removes nodes from the group. If the group is empty after the mutation is committed, the group itself is removed. |
| setBorderColor(color) | Sets or resets the color of the node group. |
| setBorderWidth(width) | Sets or resets the border width of the node group. |
| setColor(color) | Sets or resets the background color of the node group. |
| setImage(href, description) | Sets or resets the image for the node group. |
| setIsMinimized(isMinimized) | Sets whether the node group is minimized, so nodes within the group are hidden, or maximized where they are shown. |
| setLabel(label) | Sets or resets the label of the node group. |