#1029 Fix for issues after switching to master branch of dagre-d3

This commit is contained in:
Knut Sveidqvist
2019-10-24 19:33:13 +02:00
parent 66152b42ae
commit d1c74070ab
4 changed files with 76 additions and 31 deletions

View File

@@ -416,7 +416,7 @@ export const drawEdge = function(elem, path, relation) {
const rows = getRows(relation.title);
console.warn(rows);
// console.warn(rows);
let titleHeight = 0;
const titleRows = [];
@@ -431,7 +431,6 @@ export const drawEdge = function(elem, path, relation) {
if (titleHeight === 0) {
const titleBox = title.node().getBBox();
titleHeight = titleBox.height;
console.warn('apa', rows.length * titleHeight);
}
titleRows.push(title);
}