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