Hareeshchandera / jsplumb

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

Bezier curve offset #176

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I used the below code to define a default connector:

"jsPlumb.Defaults.Connector = [ "Bezier", { curviness: 100 }];"

the result is shown in "bezier1.png"

I think it would be nice if I can set an offset for the Bezier lines like 
"bezier2.png"

for example: window1 -> bezier line -> offset(straight line) -> window2 

How can I do that?

Original issue reported on code.google.com by inmindl...@googlemail.com on 13 Jan 2012 at 6:41

Attachments:

GoogleCodeExporter commented 8 years ago
that does look quite nice. it's kind of like the 'minStubLength' parameter you 
can supply to the Flowchart connectors.

someone also asked recently if the 'curviness' could be adjusted as the two 
elements in the connection move with respect to each other....if i did that i 
would probably do this at the same time.

Original comment by simon.po...@gmail.com on 13 Jan 2012 at 8:38

GoogleCodeExporter commented 8 years ago
i mentioned that this might get in to 1.3.6 but i don't think it will now.  
there are a few places in which the code would have to be updated - not just 
the renderer, but also the mouse stuff for canvas and the overlay placement 
code, so it's not trivial.

this coupled with the fact that i want to overhaul all the connectors to follow 
a more standard pattern means that i won't be doing this for the next release.

Original comment by simon.po...@gmail.com on 5 Feb 2012 at 8:44

GoogleCodeExporter commented 8 years ago
fine! let's do your important things first

Original comment by inmindl...@googlemail.com on 6 Feb 2012 at 9:08

GoogleCodeExporter commented 8 years ago
targeting 1.4.0 for this. 

Original comment by simon.po...@gmail.com on 7 Nov 2012 at 7:32

GoogleCodeExporter commented 8 years ago
changed my mind. rescheduling for later release.

Original comment by simon.po...@gmail.com on 12 Dec 2012 at 12:23

GoogleCodeExporter commented 8 years ago
moved to github

https://github.com/sporritt/jsPlumb/issues/18

Original comment by simon.po...@gmail.com on 30 Apr 2013 at 11:28

GoogleCodeExporter commented 8 years ago
Issues have all moved to Github.  Google code is no longer in use for jsPlumb.

Original comment by simon.po...@gmail.com on 10 May 2013 at 11:37