i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > app > ITrackedMutations > setNodeCenter

    app.ITrackedMutations.setNodeCenter() method

    Warning: This API is now obsolete.

    Deprecated since version 1.2. Use app.INodeEditor.setCenter() instead.

    Moves a node to a particular location on the chart.

    Signature:

    setNodeCenter(node: visual.INode | visual.ElementId, position: visual.IPosition): void;
    

    Introduced: version 1.1

    Parameters

    Parameter Type Description
    node visual.INode | visual.ElementId The node to be moved.
    position visual.IPosition The location to move the node to.

    Returns:

    void

    Exceptions

    Error if the node is not on the chart, or if the x- or y-coordinate of the location is not a number.

    In this article
    Back to top © N. Harris Computer Corporation