ts-visio - v1.16.27
    Preparing search index...

    Class Connector

    A read/delete wrapper around a connector shape found on a page. Obtain instances via page.getConnectors().

    Index

    Constructors

    Properties

    beginArrow: string

    Begin-arrow head value string (e.g. '0' = none, '1' = standard).

    endArrow: string

    End-arrow head value string (e.g. '0' = none, '1' = standard).

    Connection point used on the from-shape ('center', { name }, or { index }).

    fromShapeId: string | undefined

    ID of the shape this connector starts from. undefined if the begin endpoint is not connected.

    id: string

    Visio shape ID of this connector.

    Line style (color, weight, pattern, routing) for this connector.

    Connection point used on the to-shape ('center', { name }, or { index }).

    toShapeId: string | undefined

    ID of the shape this connector ends at. undefined if the end endpoint is not connected.

    Methods

    • Delete this connector from the page (removes the shape and its Connect entries).

      Returns Promise<void>