Skip to main content

Home > @jsplumb/core > LightweightRouter

LightweightRouter class#

Signature:

export declare class LightweightRouter<T extends {    E: unknown;}> implements Router<T, LightweightAnchor> 

Implements: Router<T, LightweightAnchor>

Constructors#

ConstructorModifiersDescription
(constructor)(instance)Constructs a new instance of the LightweightRouter class

Properties#

PropertyModifiersTypeDescription
anchorListsMap<string, AnchorLists>
anchorLocationsMap<string, AnchorPlacement>
instanceJsPlumbInstance

Methods#

MethodModifiersDescription
computeAnchorLocation(anchor, params)
computePath(connection, timestamp)
getAnchorOrientation(anchor)
getEndpointLocation(endpoint, params)
getEndpointOrientation(ep)
isDynamicAnchor(ep)
isFloating(ep)
prepareAnchor(params)
redraw(elementId, timestamp, offsetToUI)
reset()
setAnchor(endpoint, anchor)
setAnchorOrientation(anchor, orientation)
setConnectionAnchors(conn, anchors)