mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 15:30:03 +02:00
#1029 Fix for issues after switching to master branch of dagre-d3
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user