JsPlumb - Basic setup advice -


i've never used jsplumb before , have read of documentation , looked @ demos, still don't understand..

i want create div : enter image description here

one input , upto 8 outputs (this value may change) how do ?

i looking @ cloning div , incrementing divs id, end 2 or more divs need able join this.

enter image description here

can or point me simple examples..

thanks

you need add bigger div target endpoint , smaller div's source end point.

 var e1 =  jsplumb.addendpoint(idsource, sourceendpoint);         var e2 =  jsplumb.addendpoint(idtarget, targetendpoint); 

where sourceendpoint , targetendpoints objects definitions how endpoint , behave .

have @ 1 of examples behaviour desire. jsplumb should allow drag , drop connections source targets. state machine demo same thing need.

http://www.jsplumb.org/demo/flowchart/dom.html


Comments