Fix for legacy class diagram

This commit is contained in:
Knut Sveidqvist
2022-07-04 19:37:56 +02:00
parent bc6830cbdb
commit 10f56129c1
8 changed files with 57 additions and 75 deletions

View File

@@ -356,7 +356,6 @@ export const draw = (text, id, _version, diagObj) => {
drawRelationshipFromLayout(svg, rel, g, id, diagObj);
});
// svg.attr('height', '500px');
const padding = conf.rect_padding;
const svgBounds = svg.node().getBBox();
const width = svgBounds.width + padding * 2;