#945 Divider lines for concurrency

This commit is contained in:
Knut Sveidqvist
2019-10-06 15:44:31 +02:00
parent dce09586cd
commit ce0b0fa0c8
5 changed files with 67 additions and 1 deletions

View File

@@ -133,6 +133,12 @@ export const lineType = {
DOTTED_LINE: 1
};
let dividerCnt = 0;
const getDividerId = () => {
dividerCnt++;
return 'divider-id-' + dividerCnt;
};
export const relationType = {
AGGREGATION: 0,
EXTENSION: 1,
@@ -147,6 +153,7 @@ export default {
getStates,
getRelations,
addRelation,
getDividerId,
// addDescription,
cleanupLabel,
lineType,