feat(modeling): add lane default width

Related to #316
This commit is contained in:
Nico Rehwaldt 2015-08-21 11:55:45 +02:00 committed by pedesen
parent e9a7bfa986
commit 4e33f524c7
1 changed files with 4 additions and 0 deletions

View File

@ -124,6 +124,10 @@ ElementFactory.prototype._getDefaultSize = function(semantic) {
return { width: 600, height: 250 };
}
if (semantic.$instanceOf('bpmn:Lane')) {
return { width: 400, height: 100 };
}
return { width: 100, height: 80 };
};