Hello!
I'm trying to create a simple app that uses an svg "g" element as the container where I add other svg elements.
I have no problem creating the endpoints and displaying then in the container, but when I try to move them, I get the error: "ERROR: cannot manage non-svg element when container is an SVG element."
I noticed that when clicking the point to try and move it around, jsplumb creates a div, and I have no idea where does it come from and how can I changes this.
I would like to move the endpoint around and create new connections.
I would also like to be able to move the element around and have the endpoint move with the element.
Hello! I'm trying to create a simple app that uses an svg "g" element as the container where I add other svg elements. I have no problem creating the endpoints and displaying then in the container, but when I try to move them, I get the error: "ERROR: cannot manage non-svg element when container is an SVG element."
I noticed that when clicking the point to try and move it around, jsplumb creates a div, and I have no idea where does it come from and how can I changes this.
My code looks like this:
I would like to move the endpoint around and create new connections. I would also like to be able to move the element around and have the endpoint move with the element.
Are these two things possible?