Show:

An object that describes a link of the association type on the UML diagram.

Methods

JointJS

()

See here.

toString

() String
Returns the string representation of the primitive.

Returns:

String: A string representation of the primitive.

Properties

endMultiplicity

String

The end multiplicity of a link.

id

String
The unique identifier of the primitive.

labels

Array

The array of labels for this link.

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' }.

startMultiplicity

String

The start multiplicity of a link.

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 }].