i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > app > INodeEditor

    app.INodeEditor interface

    A set of methods for modifying the appearance of a node.

    Signature:

    interface INodeEditor extends Omit<IElementEditorBase, 'setColor'> 
    

    Extends: Omit<IElementEditorBase, 'setColor'>

    (Some inherited members may not be shown because they are not represented in the documentation.)

    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.
    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.
    setSize(size) Sets or resets the size of the node.
    In this article
    Back to top © N. Harris Computer Corporation