Skip to content

Conversation

@xhluca
Copy link

@xhluca xhluca commented Apr 1, 2019

About

Description of changes

Pre-Merge checklist

  • The project was correctly built with npm run build:all.
  • If there was any conflict, it was solved correctly
  • All changes were documented in CHANGELOG.md.
  • All tests on CircleCI have passed.
  • All Percy visual changes have been approved.
  • Two people have 💃'd the pull request. You can be one of these people if you are a Dash Cytoscape core contributor.

Reference Issues

Other comments

@xhluca xhluca requested a review from shammamah-zz April 1, 2019 17:05
Copy link
Contributor

@shammamah-zz shammamah-zz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome job, Xing! Cytoscape is getting better and better 👍

default (if true, overrides individual element state).
- autoRefreshLayout (boolean; optional): Whether the layout should be refreshed when elements are added or removed.
- tapNode (dict; optional): The complete node dictionary returned when you tap or click it.
- tapNode (dict; optional): The complete node dictionary returned when you tap or click it. Cannot be modified by a
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe say that it's "read-only" instead -- that might be clearer!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

'animate': True,
'animationDuration': 1000,
'positions': {
node_id: {'x': 20 * lat, 'y': -20 * long}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

long here appears to be a keyword, since it refers to a data type -- you could maybe consider changing it to avoid confusion (and problems with syntax highlighting, as we see here).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@xhluca xhluca merged commit 0d2b47f into master Apr 3, 2019
@xhluca xhluca deleted the dev branch April 3, 2019 00:23
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

Successfully merging this pull request may close these issues.

3 participants