mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 23:39:50 +02:00
#1295 Lint fixes
This commit is contained in:
@@ -7,13 +7,11 @@ import graphlib from 'graphlib';
|
||||
export let clusterDb = {};
|
||||
let decendants = {};
|
||||
let parents = {};
|
||||
let graphs = {};
|
||||
|
||||
export const clear = () => {
|
||||
decendants = {};
|
||||
parents = {};
|
||||
clusterDb = {};
|
||||
graphs = {};
|
||||
};
|
||||
|
||||
const isDecendant = (id, ancenstorId) => {
|
||||
@@ -37,7 +35,7 @@ const edgeInCluster = (edge, clusterId) => {
|
||||
if (!(edge.v === clusterId || edge.w === clusterId)) return false;
|
||||
|
||||
if (!decendants[clusterId]) {
|
||||
log.debug('Tilt, ', clustedId, ',not in decendants');
|
||||
log.debug('Tilt, ', clusterId, ',not in decendants');
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user