Grasews.UI.Web/Content/js/cytoscape/grasews-cytoscape.js
//Get properties from the cytoscape node element and open the modal for ADDING the MODEL REFERENCE
Get properties from the cytoscape node element and open the modal for ADDING the MODEL REFERENCE
Get properties from the cytoscape node element and open the modal for ADDING the MODEL REFERENCE
function cytoscapeContextMenuAddModelReference(ele) {
    var wsdlElementName = ele.data('name');
    var wsdlElementType = ele.data('node-type');
    var idWsdlElement = ele.data('id-wsdl-element');
    var idWsdlElementType = ele.data('id-node-type');
    var idServiceDescription = ele.data('id-service-description');
    modalAddModelReference(idWsdlElement, idWsdlElementType, wsdlElementType, wsdlElementName, idServiceDescription);
}
function cytoscapeContextMenuAddModelReference ( ele ) { var wsdlElementName = ele . data ( 'name' ) ; var wsdlElementType = ele . data ( 'node-type' ) ; var idWsdlElement = ele . data ( 'id-wsdl-element' ) ; var idWsdlElementType = ele . data ( 'id-node-type' ) ; var idServiceDescription = ele . data ( 'id-service-description' ) ; modalAddModelReference ( idWsdlElement , idWsdlElementType , wsdlElementType , wsdlElementName , idServiceDescription ) ; }
Get properties from the cytoscape node element and open the modal for ADDING the MODEL REFERENCE
Get properties from the cytoscape node element and open the modal for ADDING the MODEL REFERENCE