google-code-export / jsplumb

Automatically exported from code.google.com/p/jsplumb
1 stars 0 forks source link

Add options to the Continuous anchor #311

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice to be able to define on which side of the element the 
continuous anchor should be.

For example: A connection should always have an anchor on the left side of an 
element, even if the shortest way would be bottom side.
This could be done via anchor: ["ContinuousLeft"] or ["Continuous", {faces: 
["Left"]}]

Original issue reported on code.google.com by valyst...@gmail.com on 17 Jan 2013 at 9:39

GoogleCodeExporter commented 9 years ago
this is in 1.4.0 dev now:

anchor:["Continuous", {faces:["top", "bottom"] } ],

or

anchor:"ContinuousLeft"

Original comment by simon.po...@gmail.com on 26 Jan 2013 at 7:16