browser-ui package
This package is a renderer for the jsPlumb Community edition that uses a single SVG element per connection, and can connect HTML/SVG elements in the DOM. For users of version of jsPlumb prior to 5.x, this package is the equivalent to what used to just be known as "jsPlumb".
In actual fact only this renderer exists for the 5.x Community edition, but the code in 5.x is now architected in such a way that alternative renderers could be implemented.
Classes
| Class | Description |
|---|---|
| BrowserJsPlumbInstance | JsPlumbInstance that renders to the DOM in a browser, and supports dragging of elements/connections. |
| Collicat | |
| Drag | |
| DragManager | |
| ElementDragHandler | |
| EventManager |
Enumerations
| Enumeration | Description |
|---|---|
| ContainmentType | |
| ElementTypes | |
| PositioningStrategies |
Functions
Interfaces
| Interface | Description |
|---|---|
| BeforeStartEventParams | |
| BrowserJsPlumbDefaults | Defaults for the BrowserUI implementation of jsPlumb. |
| CollicatOptions | |
| DragEventParams | |
| DragHandler | |
| DragHandlerOptions | |
| DragManagerOptions | |
| DragMovePayload | Payload for drag:move event. |
| DragOptions | |
| DragParams | |
| DragPayload | Base payload for drag events. Contains the element being dragged, the corresponding mouse event, the current position, and the position when drag started. |
| DragStartEventParams | |
| DragStartPayload | Payload for drag:start event. |
| DragStopEventParams | |
| DragStopPayload | Payload for drag:stop event. In addition to the base payload, contains a redraw result object, listing all the connections and endpoints that were affected by the drag. |
| GhostProxyingDragHandler | |
| jsPlumbDOMElement | |
| jsPlumbDragManager | |
| UIComponent |
Variables
Type Aliases
| Type Alias | Description |
|---|---|
| ConstrainFunction | Definition of a function that can be used to constrain the movemement of an element that is being dragged. The function is given the "desiredLoc", which is the location the element would be moved to if not constrained, and it is expected to return either some other value, meaning place the element at that position, or null, meaning for the given desired location there is no preferred position and the element should not be moved. |
| DraggedElement | |
| DragGroupSpec | Definition of a drag group membership - either just the id of a drag group, or the id of a drag group and whether or not this element plays an active role in the drag group. |
| ElementType | |
| EndpointHelperFunctions | |
| GetPositionFunction | |
| GetSizeFunction | |
| GhostProxyGenerator | |
| GroupLocation | |
| IntersectingGroup | |
| PositioningStrategy | |
| RevertEventParams | |
| RevertFunction | |
| SetPositionFunction | |
| SetSizeFunction |