Show:

An object that defines any link on the UML diagram.

Item Index

Methods

Methods

JointJS

() joint.shapes
Returns an object for the JointJS diagram model.

Returns:

joint.shapes:

Object for the JointJS diagram model.

toString

() String
Returns the string representation of the primitive.

Returns:

String: A string representation of the primitive.

Properties

id

String
The unique identifier of the primitive.

primitive

Object
The object that describes the primitive.

source

Object

An object with an id of another UML primitive, which is the source, for example { id: '1' }.

target

Object

An object with an id of another UML primitive, which is the target, for example { id: '1' }.

vertices

Array

The vertices through which this link passes. An array of objects with X and Y coordinates, for example [{ x: 100, y: 100 }].