Class ElementFactory<T, U, V, W>

A factory for model elements.

Type Parameters

  • T extends Connection = Connection

  • U extends Label = Label

  • V extends Root = Root

  • W extends Shape = Shape

Constructors

  • Type Parameters

    • T extends Connection = Connection

    • U extends Label = Label

    • V extends Root = Root

    • W extends Shape = Shape

    Returns ElementFactory<T, U, V, W>

Methods

  • Create a connection.

    Parameters

    • Optional attrs: Partial<Connection>

    Returns T

    The created connection.

Generated using TypeDoc