Skip to main content

ATTRIBUTE_VJS_PORT

const ATTRIBUTE_VJS_PORT: "data-vjs-port" = "data-vjs-port"

This attribute indicates that the given element is the specific DOM element to which connections for the given port should be attached. It is distinct from data-vjs-port-id in that this attribute is a "physical" presence of a port. Connections to/from the associated port are attached to this DOM element, and not to the element representing the vertex to which the port belongs.

Dom Attribute

Context

edge-dragging