This commit is contained in:
Knut Sveidqvist
2020-04-22 20:05:36 +02:00
parent 59f3d2a11e
commit 81d9b5afd6
2 changed files with 1 additions and 2 deletions

View File

@@ -161,7 +161,6 @@ const divider = (parent, node) => {
// Create the label and insert it after the rect // Create the label and insert it after the rect
const label = shapeSvg.insert('g').attr('class', 'cluster-label'); const label = shapeSvg.insert('g').attr('class', 'cluster-label');
const innerRect = shapeSvg.append('rect');
const text = label.node().appendChild(createLabel(node.labelText, node.labelStyle)); const text = label.node().appendChild(createLabel(node.labelText, node.labelStyle));

View File

@@ -2,7 +2,7 @@
* Setup arrow head and define the marker. The result is appended to the svg. * Setup arrow head and define the marker. The result is appended to the svg.
*/ */
import { logger } from '../logger'; // import { logger } from '../logger';
// Only add the number of markers that the diagram needs // Only add the number of markers that the diagram needs
const insertPatterns = (elem, patternArray, type, id) => { const insertPatterns = (elem, patternArray, type, id) => {