Skip to contents

Create a thicker line link with shadow between a source and target element or location in a JointJS diagram.

See also

Super classes

jointjs_cell -> jointjs_link -> jointjs_shadowLink

Methods

Inherited methods


The link initialiser.

Usage

jointjs_shadowLink$new(source, target, vertices, ...)

Arguments

source, target

source and target indicate the route the link should take. It can be a point (a list with an x and y coordinate), or a list containing an id of the element that should be linked. You can also provide a port value to that list if you wish to connect to a specific port on the element.

vertices

A list of coordinates where the link should pass through. The list is unnamed and each element should be a list of and x and y value.

...

Arguments passed to parent class initialiser.


The objects of this class are cloneable with this method.

Usage

jointjs_shadowLink$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.