kinimesi / cytoscape-svg

A Cytoscape.js extension to export the current graph view as an SVG.
https://kinimesi.github.io/cytoscape-svg
GNU General Public License v3.0
35 stars 5 forks source link

Ability to drag and drop svg images #2

Closed KevinZhou1 closed 5 years ago

KevinZhou1 commented 5 years ago

Is it possible to drag and drop the svg node images after the svg has been made?

kinimesi commented 5 years ago

I'm not sure if I understood your question, but the extension returns contents of the SVG and you can do whatever you want with it.

KevinZhou1 commented 5 years ago

I would like to implement a feature of dragging the elements of the svg, similar to what is shown here: http://www.petercollingridge.co.uk/tutorials/svg/interactive/dragging/.

However, it doesn't look that feasible without modifying the internals of the library that produces the svg

kinimesi commented 5 years ago

The produced SVGs are static.