1295 Lint fixes

This commit is contained in:
Knut Sveidqvist
2020-03-14 08:24:45 +01:00
parent da048cbc7b
commit ad288be2ee
3 changed files with 6 additions and 21 deletions

View File

@@ -1,7 +1,7 @@
import dagre from 'dagre';
import insertMarkers from './markers';
import { insertNode, positionNode } from './nodes';
import { insertCluster, positionCluster, getClusterTitleWidth } from './clusters';
import { insertCluster } from './clusters';
import { insertEdgeLabel, positionEdgeLabel, insertEdge } from './edges';
import { logger } from '../logger';
@@ -15,7 +15,6 @@ export const render = (elem, graph) => {
// Insert nodes, this will insert them into the dom and each node will get a size. The size is updated
// to the abstract node and is later used by dagre for the layout
const nodes2expand = [];
graph.nodes().forEach(function(v) {
const node = graph.node(v);
logger.info('Node ' + v + ': ' + JSON.stringify(graph.node(v)));