bpmn-js/lib/util/Di.js

9 lines
232 B
JavaScript

'use strict';
module.exports.isExpandedPool = function(semantic) {
return !!semantic.processRef;
};
module.exports.isExpanded = function(semantic) {
return !semantic.$instanceOf('bpmn:SubProcess') || semantic.di.isExpanded;
};