| |||||
The library was ported for MooTools, YUI and jQuery.
It uses a canvas stage to drag graphs, charts or different elements showing the way GUI elements or other objects interact with each other.
For older browsers, Google's ExplorerCanvas script is used.
jQuery:
jsPlumb requires jQuery 1.3.x or 1.4.x; and jQueryUI 1.7.x or 1.8.x.
MooTools:
jsPlumb requires MooTools 1.2.4 and Drag.Move from MooTools More.
YUI3:
jsPlumb requires YUI 3.3.x.
Here are some key features of "jsPlumb":
Graph elements:
· Connector - a line connecting two elements in the page
· Endpoint - the visual representation of one end of a Connection
· Anchor - a location, relative to an element's origin, at which an Endpoint can exist
· Overlay - a UI component that is used to decorate a Connector, such as a label, arrow, etc.
· Connection - an instance of Anchors, Endpoints and a Connector with zero or more Overlays working together to join two elements.
Requirements:
· JavaScript enabled on client side
What's New in This Release: [ read full changelog ]
New functionality:
· Added 'selectEndpoints' method to jsPlumb. This works in a similar way to jsPlumb.select (which is for Connections).
· Added isSuspendDrawing method
· Added "connection" as alias to existing "jsPlumbConnection" event. BOTH EVENTS are fired. So do not register for them both!
· Added "connectionDetached" as alias to "jsPlumbConnectionDetached" event. As above - both events are fired.
· Added 'maxConnections' event to Endpoints.
· Added 'onMaxConnections' callback option to makeTarget and makeSource
Fixed issues:
· Add 'maxConnections' event to Endpoint
· selectEndpoints enhancement
· makeSource does not honor maxConnections parameter
· setLabel ignores suspendDrawing flag
· deleteEveryEndpoint should suspend drawing before it begins and restore once its done.

Via: jsPlumb 1.3.14






0 Comment:
Post a Comment