Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Save function #2

Closed
renjithsraj opened this issue Mar 12, 2019 · 3 comments
Closed

Issue with Save function #2

renjithsraj opened this issue Mar 12, 2019 · 3 comments

Comments

@renjithsraj
Copy link

Hi I have tried your demo functionality with mxgraph-editor, It's really awesome. but when I click Save function nothing is happening, can you please update. save and open functionalities.

@korbinzhao
Copy link
Owner

Thx for issuing this problem. I have update the save event function in demo. You can pull the newest code from master branch, and see the demo code in './demo/toolbar.jsx'. @renjithsraj

@renjithsraj
Copy link
Author

Thanks for your support, ut when I run again, it's shows like the data(diagram data in save) as Null. the screen shot is attached plz help for save and open funcitonalities.
none

@korbinzhao
Copy link
Owner

did you pull the newest code from master? it is ok just like below picture show.

every change in graph will trigger the callback function autoSaveFunc, u can get the diagram data in this function too.

image

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants