- Does not draw anything visible to the user. As discussed previously, this Endpoint is probably not what you want if you need your users to be able to drag existing Connections - for that, use a Rectangle or Dot Endpoint ans assign to it a CSS class that causes it to be transparent.

+ Does not draw anything visible to the user. As discussed previously, this Endpoint is probably not what you want if you need your users to be able to drag existing Connections - for that, use a Rectangle or Dot Endpoint and assign to it a CSS class that causes it to be transparent.

</div>

@@ -995,7 +995,7 @@

</ul>

<h5>jsPlumb.importDefaults</h5>

-From version 1.4.0 onwards there is a helper method called <strong>importDefaults</strong> that allows you to import a set of values with just one call to jsPlumb. Here's the previous example using importDefaults:

+There is a helper method called <strong>importDefaults</strong> that allows you to import a set of values with just one call to jsPlumb. Here's the previous example using importDefaults:

<divclass="code">

<pre>

jsPlumb.importDefaults({

@@ -2104,7 +2104,7 @@

<divclass="section">

<h3><aid="connectionInfo">Retrieving Connection Information</a></h3>

- There are two ways of retrieving connection information from jsPlumb. <strong>getConnections</strong>is the original method; from 1.4.0 onwards this method is supplemented by <ahref="#selectConnections">jsPlumb.select</a>, a much more versatile variant.

+ There are two ways of retrieving connection information from jsPlumb. <strong>getConnections</strong>is the original method; this method is supplemented by <ahref="#selectConnections">jsPlumb.select</a>, a much more versatile variant.

<h5>getConnections</h5>

<p>Before you use this method you should understand jsPlumb's notion of 'scope' - documentation

is <ahref="#dragAndDropScope">here</a> </p>

@@ -2128,7 +2128,7 @@

<li>source - limits the returned connections to those that have this source id</li>

<li>target - limits the returned connections to those that have this target id</li>

</ul>

- Each of these three parameters may be supplied as a string, which for source and target is an element id and for scope is the name of the scope, or a list of strings. Also from 1.4.0 you can pass "*" in as the value for any of these - a wildcard, meaning any value. See the examples below.

+ Each of these three parameters may be supplied as a string, which for source and target is an element id and for scope is the name of the scope, or a list of strings. Als, you can pass "*" in as the value for any of these - a wildcard, meaning any value. See the examples below.

<p>

The return value of a call to getConnection using a JS object as parameter varies on how many scopes you defined. If you defined only a single scope then jsPlumb returns you a list of Connections in that scope. Otherwise the return value is a dictionary whose keys are scope names, and whose values are lists of Connections. For example, the following call:

</p>

@@ -2233,7 +2233,7 @@

<divclass="section">

<h3><aid="selectConnections">Selecting Connections</a></h3>

- Introduced in 1.4.0, <strong>jsPlumb.select</strong> provides a fluid interface for working with lists of Connections. The syntax used to specify which Connections you want is identical to that which you use for getConnections, but the return value is an object that supports most operations that you can perform on a Connection, and which is also chainable, for setter methods. Certain getter methods are also supported, but these are not chainable; they return an array consisting of all the Connections in the selection along with the return value for that Connection.

+ <strong>jsPlumb.select</strong> provides a fluid interface for working with lists of Connections. The syntax used to specify which Connections you want is identical to that which you use for getConnections, but the return value is an object that supports most operations that you can perform on a Connection, and which is also chainable, for setter methods. Certain getter methods are also supported, but these are not chainable; they return an array consisting of all the Connections in the selection along with the return value for that Connection.

<p>

This is the full list of setter operations supported by jsPlumb.select:

<ul>

@@ -3085,16 +3085,16 @@

<li>- &lt;LIBRARY_PREFIX&gt;.jsPlumb-x.x.x.js

<p>This contains library-specific helper methods. jsPlumb ships with three of these - one each for jQuery, MooTools and YUI3. See below for information on how to create a new library implementation.</p>

</li>

- <li>- jsBezier-0.3-min.js

+ <li>- jsBezier-0.4-min.js

<p>These are the Bezier curve functions; they are maintained in a separate project called <ahref="http://code.google.com/p/jsbezier/">jsBezier</a></p>

</li>

</ul>

These seven files are packaged together to form the scripts that people use, for example:

<p>Yellow endpoints are configured to use a <strong>beforeDetach</strong> interceptor, which provides a way to programmatically override a connection detach. Yellow connections are painted with the Straight connector</p>

<p>Green endpoints support up to three Connections. Once a green endpoint has three connections, when you drag from it you will drag the oldest connection made on the endpoint.</p>

<p>This is a demonstration of anchors that change position dependent on the location of the other element in a connection. Each connection is decorated with a jsPlumb.Overlays.Diamond, located halfway along the connector.</p>

<p>This is a demonstration of anchors that change position dependent on the location of the other element in a connection. Each connection is decorated with a jsPlumb.Overlays.Diamond, located halfway along the connector.</p>

<p>This is a demonstration of anchors that change position dependent on the location of the other element in a connection. Each connection is decorated with a jsPlumb.Overlays.Diamond, located halfway along the connector.</p>