Grasews.UI.Web/Content/js/cytoscape/grasews-cytoscape.js
//Context menu for Model Reference only, but already with model reference annotations
Context menu for Model Reference only, but already with model reference annotations
Context menu for Model Reference only but already with model reference annotations
function createContextMenuForModelReferenceWithModelReferenceAnnotated(cy) {
    cy.cxtmenu({
        selector: '.node-model-reference-only-with-model-reference-annotated',
        commands: [
            {
                content: 'Add Model Reference',
                select: function (ele) {
                    cytoscapeContextMenuAddModelReference(ele);
                }
            },
            {
                content: 'Remove Model Reference',
                select: function (ele) {
                    cytoscapeContextMenuRemoveModelReference(ele);
                }
            }
        ]
    });
    return cy;
}
function createContextMenuForModelReferenceWithModelReferenceAnnotated ( cy ) { cy . cxtmenu ( { selector : '.node-model-reference-only-with-model-reference-annotated' , commands : [ { content : 'Add Model Reference' , select : function ( ele ) { cytoscapeContextMenuAddModelReference ( ele ) ; } } , { content : 'Remove Model Reference' , select : function ( ele ) { cytoscapeContextMenuRemoveModelReference ( ele ) ; } } ] } ) ; return cy ; }
Context menu for Model Reference only, but already with model reference annotations
Context menu for Model Reference only but already with model reference annotations