Update after lint comments

This commit is contained in:
Knut Sveidqvist
2022-09-05 20:40:12 +02:00
parent 1ccd3183c4
commit 030cbb1acb
15 changed files with 322 additions and 129 deletions

View File

@@ -80,21 +80,6 @@ export const setupGraphViewbox = function (graph, svgElem, padding, useMaxWidth)
const vBox = `${svgBounds.x - padding} ${svgBounds.y - padding} ${
svgBounds.width + 2 * padding
} ${svgBounds.height + 2 * padding}`;
// log.info(
// 'Graph.label',
// graph._label,
// 'swidth',
// sWidth,
// 'sheight',
// sHeight,
// 'width',
// width,
// 'height',
// height,
// 'vBox',
// vBox
// );
svgElem.attr('viewBox', vBox);
// svgElem.select('g').attr('transform', `translate(${tx}, ${ty})`);
};