2014-06-17 09:48:23 +00:00
|
|
|
'use strict';
|
|
|
|
|
2014-07-16 14:15:23 +00:00
|
|
|
module.exports.isExpandedPool = function(semantic) {
|
2014-06-17 09:48:23 +00:00
|
|
|
return !!semantic.processRef;
|
2014-07-16 14:15:23 +00:00
|
|
|
};
|
2014-06-17 09:48:23 +00:00
|
|
|
|
2014-07-16 14:15:23 +00:00
|
|
|
module.exports.isExpanded = function(semantic) {
|
2014-07-18 12:39:15 +00:00
|
|
|
return !semantic.$instanceOf('bpmn:SubProcess') || semantic.di.isExpanded;
|
2014-07-16 14:15:23 +00:00
|
|
|
};
|