define(['common/general/common.general.module'],function(general){// Filter to return only valid ports (like id != 0)general.filter('noRootPorts',function(){returnfunction(input){if(!input){return;}returninput.filter(function(port){returnport.nodeconnector.id!=="0"?port:null;});};});});