mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
#1295 Lint fixes
This commit is contained in:
parent
159a3a3706
commit
598b392878
@ -1,7 +1,6 @@
|
||||
import { logger } from '../logger'; // eslint-disable-line
|
||||
import createLabel from './createLabel';
|
||||
import * as d3 from 'd3';
|
||||
import inter from './intersect/index.js';
|
||||
import { getConfig } from '../config';
|
||||
|
||||
let edgeLabels = {};
|
||||
|
@ -5,9 +5,7 @@ import state from './parser/stateDiagram';
|
||||
import { getConfig } from '../../config';
|
||||
|
||||
import { render } from '../../dagre-wrapper/index.js';
|
||||
import addHtmlLabel from 'dagre-d3/lib/label/add-html-label.js';
|
||||
import { logger } from '../../logger';
|
||||
import { interpolateToCurve, getStylesFromArray } from '../../utils';
|
||||
|
||||
const conf = {};
|
||||
export const setConf = function(cnf) {
|
||||
@ -34,7 +32,7 @@ export const getClasses = function(text) {
|
||||
return stateDb.getClasses();
|
||||
};
|
||||
|
||||
const setupNode = (g, parent, node, first) => {
|
||||
const setupNode = (g, parent, node) => {
|
||||
// Add the node
|
||||
if (node.id !== 'root') {
|
||||
let shape = 'rect';
|
||||
|
Loading…
x
Reference in New Issue
Block a user