Show:

An object that defines any element 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

height

Number

The height of this element.

id

String
The unique identifier of the primitive.

position

Object

An object with the coordinates X and Y of this element, for example { x: 100, y: 100 }.

primitive

Object
The object that describes the primitive.

size

Object

An object with the properties height and width of this element, for example { height: 100, width: 100 }.

width

Number

The width of this element.

x

Number

The X coordinate of this element.

y

Number

The Y coordinate of this element.