Merge branch 'develop' into 1179-SupportGenericTypesForMembers

This commit is contained in:
Knut Sveidqvist
2020-01-29 21:08:31 +01:00
committed by GitHub
18 changed files with 304 additions and 41 deletions

View File

@@ -502,8 +502,8 @@ export const draw = function(text, id) {
}
});
diagram.attr('height', '100%');
diagram.attr('width', `${g.graph().width * 1.5 + 20}`);
diagram.attr('height', g.graph().height + 40);
diagram.attr('width', g.graph().width * 1.5 + 20);
diagram.attr('viewBox', '-10 -10 ' + (g.graph().width + 20) + ' ' + (g.graph().height + 20));
};