-
Notifications
You must be signed in to change notification settings - Fork 7
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
dump/restore methods exposing writeGraphModel/readGraphModel #7
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lint has failed:
qmxgraph/api.py:374:80: E501 line too long (83 > 79 characters)
Could you please fix that and amend?
341a1dd
to
5f54f4b
Compare
Waiting for @fogo to give his blessing. 👍 |
Did the lint fix. |
Let's see what @fogo has to say about it. |
The new feature seems fine. It seems this is the expected way to store/restore a mxGraph. Just take on future changes to make sure they are always compatible with this (i.e. they are visually identical after restored). About the coverage on API, this is already a problem actually. If you take a deeper look, you'll notice that there're other methods uncovered. I guess it is time to decide to either cover them (more work, safer) all or maybe just don't cover it at all (risky, API isn't always straightforward between Python/Qt/JS). |
Sorry for delaying the comment. I can add that later. If you think mocking is good enough I plan to use testdouble.js or Sinon.JS. |
Sorry for the late answer, but mocking feels like a good start. I look forward to the future PR ;) |
No description provided.