iVis-at-Bilkent / cytoscape.js-clipboard

A Cytoscape.js extension to provide copy-paste utilities
MIT License
8 stars 4 forks source link

fixed #8 #15

Closed AsmaJodeiri closed 3 years ago

AsmaJodeiri commented 3 years ago

8

hasanbalci commented 3 years ago

@AsmaJodeiri The selection problem seems solved. I realized a few problems with undo-redo:

If you have questions about how the undo-redo extension works, you can ask me.

AsmaJodeiri commented 3 years ago

@hasanbalci I have added a version of cut which the undo-redo parts are fixed based on what you said but I am not sure how should edges act when a node is cuted. can you run the code and tell me if this is right or how should the edges act after cut?

hasanbalci commented 3 years ago

@AsmaJodeiri The functionality seems ok now. Maybe you can do the following to fix the format of the files:

Hopefully, we can see only the actual changes in this way while keeping the original format. Additionally, it seems there are console log statements remaining in cytoscape-clipboard.js file, please remove them as well.