cytoscape.js-edge-editing
cytoscape.js-edge-editing copied to clipboard
Option to customize right click event
Thanks for your help earlier!
we need to open context menu of edges by left click event , and we would like to have an option evtType to customise cxttap event
https://github.com/iVis-at-Bilkent/cytoscape.js-edge-editing/blob/149c0aa59b0f5d2a39a3150b81f85f0f01105333/src/UIUtilities.js#L1286-L1367
Hi @zoulayabd,
You're right. Currently, context-menus extension has a evtType option but edge-editing extension is stick to the right-click. To solve this issue, we can expose the evtType option in the context-menus and then use it automatically in this extension. In this way, event type that is defined in context-menus will be available for edge-editing as well. We'll solve that when we have time.
@zoulayabd With the last commits (c09acb395730bc101dc46fb3e11b25e0f36b09eb), it uses evtType of context-menus extension. Please check and close the issue if it's OK. (It is the unstable branch)
@canbax thanks for your actions , i tried the solution on the unstable branch , but it give me this error : ERROR TypeError: G.getOptions is not a function init cytoscape-edge-editing.js:1
@zoulay You also need to use the latest unstable context-menus This extension uses context-menus
@canbax yes it works thanks , do you know when it will be released ?
@zoulay That's great! I don't know when
@canbax you didn't always know the date of release ? or a fix version that we can use on our project ?
@canbax @hasanbalci , could you push a fix version that we can use on our project angular , Thanks for your actions
@zoulay Inside the "package.json" file, you can the link to the unstable branch.
For example "cytoscape-edge-editing": "github:iVis-at-Bilkent/cytoscape.js-edge-editing#unstable",
@canbax we can't deliver in production with this branch , could you please make a fix or release version
I don't know when a release will happen or about a hotfix in the master branch. @hasanbalci and @ugurdogrusoz might help.
Hi @zoulay, There have been many changes since the latest release of this extension, so we need to test it thoroughly before a new release. However, we currently don't have enough resources for that operation. If you want to use this unstable version, you can make your own release from a fork of this extension.
Please note that this extension uses context-menus extension as an optional dependency and the current changes in the unstable branch is also dependent to the changes in the unstable branch of context-menus extension. Therefore, you may need to make a release of the unstable branch of context-menus extension as well.