Reputation: 331
Is it possible to implement the following usability concept in cytoscape.js?
Upvotes: 0
Views: 475
Reputation: 12242
For (1), you could use cy.on('tap', ...)
and determine the grid row/col based on the model co-ordinates of the event.
As of 2016-08-19, there are two existing extensions for helping with grid alignment UI:
Generally, extensions have a demo.html
so you can explore their features. There is a list in the docs, and new ones are being added all the time (both first party and third party).
You may also be interested in the grid
layout.
For (2), there are extensions that do exactly what you mention, each with different extra features and options:
Upvotes: 1