Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to use export method in jsplumb?

I using this code, but it not working. please help me.

var toolkit = jsPlumbToolkit.newInstance();
var data = toolkit.export();
console.log(data);

I get this javascript error : Uncaught TypeError: t.export is not a function.

like image 671
jamshid Avatar asked Jan 28 '26 16:01

jamshid


1 Answers

I find out answer for my question:

according to jsPlumb documentation, for get current nodes, edges and ports data, using export() method but this doesn't work. I using exportData() method and I get nodes, edges and ports data correctly.

like image 108
jamshid Avatar answered Jan 30 '26 05:01

jamshid