-
Notifications
You must be signed in to change notification settings - Fork 41
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#378 update cytoscape.js version #387
base: develop
Are you sure you want to change the base?
Issue#378 update cytoscape.js version #387
Conversation
Adding a pull request template to standardize the description of the proposed changes from contributors. Project contributors will automatically see the template's contents in the pull request body. More details can be found [here](https://help.github.com/articles/creating-a-pull-request-template-for-your-repository/).
…ytoscape.js version 3.2.17 (#2) Fixes Murali-group#396. Refer: cytoscape/cytoscape.js#1533
Solution: |
Update cytoscape: |
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.
All occurrences of event.Target
should be event.target
.
Refer- cytoscape/cytoscape.js#1537
@@ -870,7 +870,7 @@ var graphPage = { | |||
}, | |||
onTapGraphElement: function (evt) { | |||
// get target | |||
var target = evt.cyTarget; | |||
var target = evt.Target; |
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.
@JingVT @adbharadwaj - evt.Target
is incorrect. It should be evt.target
Refer - cytoscape/cytoscape.js#1537
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:
Change Layout
onGraph Visualization
pageCircle
,Grid
,Concentric
,Spring Embedder
,Tree
,cola
.cy.layout()
andeles.layout()
return the layout rather than chaining the calling object cytoscape/cytoscape.js#1533cola settings
Use Layout Editor
onGraph Visualization
pageEdit selected nodes
orEdit selected edges
Arrange nodes
cy.layout()
andeles.layout()
return the layout rather than chaining the calling object cytoscape/cytoscape.js#1533Popup for node or edge
cy
prefix on event fields, because we don't merge with the original event (as left open); e.g.cyTarget
=>target
cytoscape/cytoscape.js#1537cyTarget
toTarget
in graphs_page.js.Nodes with multiple background images mentioned in issue Update cytoscape.js version #378
For Example: the node with background-image: Pigeon_silhouette_4874 and background-color: rgb(137,208,245).
Before Upgrade Cytoscape.js (i.e. v2.7):
After Upgrade Cytoscape.js (i.e. v3.2.17):
Support "z-compound-depth" and "z-index-compare" attributes mentioned in issue Update Cytoscape JS version to support Z-index #295
Before Upgrade Cytoscape.js (i.e. v2.7):
After Upgrade Cytoscape.js (i.e. v3.2.17):
Search or Filter nodes and edges
Remove applyMax functions in graphs_page.js which have been deprecated.
Useful Reference: Announcing Cytoscape.js 3.0.0