Skip to main content

Home > @jsplumbtoolkit/core > VertexDefinition

VertexDefinition interface

Base class for node, group and port definitions. This interface is shared by the model and the view.

Signature:

export interface VertexDefinition 

Properties

PropertyModifiersTypeDescription
allowLoopback?boolean(Optional) Whether or not to allow edges from this vertex back to itself. Defaults to true.
allowVertexLoopback?boolean(Optional) Whether or not to allow edges from a port back to the vertex it belongs to. Defaults to true.
maxConnections?number(Optional) Optional connection limit. Defaults to 1. A value of -1 means there is no limit.