Hi Martin Prause,
First of all, thanks for this awesome addon, so far its really great for our needs.
I encountered one issue however, which seems to be caused by the ctxmenu addon when using the addon throughout multiple views.
Instantiating cytoscape once and then later on opening another view or reopening the same view causes this error:
Uncaught Error: Can not register `cxtmenu` for `core` since `cxtmenu` already exists in the prototype and can not be overridden
I think the issue is caused by the code in cytoscape-element.js
To be precise, the issue is that this is called again in the same session:
cytoscape.use( cxtmenu );
Either trying to detect if cxtmenu was already registered or just catching and ignoring the exception should probably work.
Edit:
I created a pull-request to add above suggested fix, please take a look:
https://github.com/martinprause/cytoscape-addon/pull/30