chore(element-factory): add default size for group

This commit is contained in:
Niklas Kiefer 2019-05-14 09:38:46 +02:00
parent 20f6d9ab03
commit 569ef62f13
1 changed files with 4 additions and 0 deletions

View File

@ -187,6 +187,10 @@ ElementFactory.prototype._getDefaultSize = function(semantic) {
return { width: 100, height: 30 };
}
if (is(semantic, 'bpmn:Group')) {
return { width: 150, height: 120 };
}
return { width: 100, height: 80 };
};