mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-02-04 07:13:25 +08:00
#1676 Lint fix
This commit is contained in:
parent
c8c4554299
commit
a446b3c600
@ -29,7 +29,6 @@ export const addVertices = function(vert, g, svgId) {
|
|||||||
const keys = Object.keys(vert);
|
const keys = Object.keys(vert);
|
||||||
|
|
||||||
// Iterate through each item in the vertex object (containing all the vertices found) in the graph definition
|
// Iterate through each item in the vertex object (containing all the vertices found) in the graph definition
|
||||||
let cnt = 0;
|
|
||||||
keys.forEach(function(id) {
|
keys.forEach(function(id) {
|
||||||
const vertex = vert[id];
|
const vertex = vert[id];
|
||||||
|
|
||||||
@ -166,7 +165,6 @@ export const addVertices = function(vert, g, svgId) {
|
|||||||
type: vertex.type,
|
type: vertex.type,
|
||||||
padding: getConfig().flowchart.padding
|
padding: getConfig().flowchart.padding
|
||||||
});
|
});
|
||||||
cnt++;
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user