function addSetOperatorProperties( classes, properties ){
	    function addProperties( domainId, rangeIds, operatorType ){
	      if ( !rangeIds ) {
	        return;
	      }

	      rangeIds.forEach(function ( rangeId, index ){
	        var property = {
	          id: "GENERATED-" + operatorType + "-" + domainId + "-" + rangeId + "-" + index,
	          type: "setOperatorProperty",
	          domain: domainId,
	          range: rangeId
	        };

	        properties.push(property);
	      });
	    }

	    classes.forEach(function ( clss ){
	      addProperties(clss.id(), clss.complement(), "COMPLEMENT");
	      addProperties(clss.id(), clss.intersection(), "INTERSECTION");
	      addProperties(clss.id(), clss.union(), "UNION");
	      addProperties(clss.id(), clss.disjointUnion(), "DISJOINTUNION");
	    });
	  }
/**
	   * Generates and adds properties for links to set operators.
	   * @param classes unprocessed classes
	   * @param properties unprocessed properties
	   */
Generates and adds properties for links to set operators.
@param classes unprocessed classes
@param properties unprocessed properties
Generates and adds properties for links to set operators . @param classes unprocessed classes @param properties unprocessed properties
function addSetOperatorProperties( classes, properties ){
	    function addProperties( domainId, rangeIds, operatorType ){
	      if ( !rangeIds ) {
	        return;
	      }
	      rangeIds.forEach(function ( rangeId, index ){
	        var property = {
	          id: "GENERATED-" + operatorType + "-" + domainId + "-" + rangeId + "-" + index,
	          type: "setOperatorProperty",
	          domain: domainId,
	          range: rangeId
	        };
	        properties.push(property);
	      });
	    }
	    classes.forEach(function ( clss ){
	      addProperties(clss.id(), clss.complement(), "COMPLEMENT");
	      addProperties(clss.id(), clss.intersection(), "INTERSECTION");
	      addProperties(clss.id(), clss.union(), "UNION");
	      addProperties(clss.id(), clss.disjointUnion(), "DISJOINTUNION");
	    });
	  }
function addSetOperatorProperties ( classes , properties ) { function addProperties ( domainId , rangeIds , operatorType ) { if ( ! rangeIds ) { return ; } rangeIds . forEach ( function ( rangeId , index ) { var property = { id : "GENERATED-" + operatorType + "-" + domainId + "-" + rangeId + "-" + index , type : "setOperatorProperty" , domain : domainId , range : rangeId } ; properties . push ( property ) ; } ) ; } classes . forEach ( function ( clss ) { addProperties ( clss . id ( ) , clss . complement ( ) , "COMPLEMENT" ) ; addProperties ( clss . id ( ) , clss . intersection ( ) , "INTERSECTION" ) ; addProperties ( clss . id ( ) , clss . union ( ) , "UNION" ) ; addProperties ( clss . id ( ) , clss . disjointUnion ( ) , "DISJOINTUNION" ) ; } ) ; }
Generates and adds properties for links to set operators.
Generates and adds properties for links to set operators .