Skip to content

Conversation

@JingVT
Copy link
Collaborator

@JingVT JingVT commented May 22, 2018

Update Cytoscape.js to v3.2.17. For compatibility, we need to upgrade cytoscape-context-menus to version 3.0.6 as well.

Task list for making sure all features related to Cytoscape.js work properly:

Useful Reference: Announcing Cytoscape.js 3.0.0

@JingVT
Copy link
Collaborator Author

JingVT commented Nov 26, 2018

Possible issue:
image

Solution:
uninstall bower: sudo npm -g uninstall bower
check if it is still here which bower
if it will show you something like /usr/local/bin/bower
then rm <path from previous command>
set npm registry URL: npm config set registry="http://registry.npmjs.org/"
install bower: sudo npm -g install bower

@JingVT
Copy link
Collaborator Author

JingVT commented Nov 26, 2018

Update cytoscape:
bower update cytoscape-context-menus
bower update cytoscape

Copy link
Collaborator

@jahandaniyal jahandaniyal left a comment

Choose a reason for hiding this comment

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

All occurrences of event.Target should be event.target.
Refer- cytoscape/cytoscape.js#1537

onTapGraphElement: function (evt) {
// get target
var target = evt.cyTarget;
var target = evt.Target;
Copy link
Collaborator

Choose a reason for hiding this comment

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

@JingVT @adbharadwaj - evt.Target is incorrect. It should be evt.target
Refer - cytoscape/cytoscape.js#1537

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