i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > app > IEdgeEditor > setWidth

    app.IEdgeEditor.setWidth() method

    Sets or resets the width of the edge.

    Signature:

    setWidth(width: number | undefined): this;
    

    Introduced: version 1.8

    Parameters

    Parameter Type Description
    width number | undefined The width to set, or undefined to reset the width to 1.

    Returns:

    this

    The edge, with its width set to the specified value.

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