Skip to content

Commit f096066

Browse files
committed
Resolving package-lock.json
2 parents 295b3e1 + 0becb17 commit f096066

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/layout.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function runLayout(g, time, opts) {
3131
time(" removeSelfEdges", () => removeSelfEdges(g));
3232
time(" acyclic", () => acyclic.run(g));
3333
time(" nestingGraph.run", () => nestingGraph.run(g));
34-
time(" rank", () => rank(util.asNonCompoundGraph(g)));
34+
time(" rank", () => rank(g));
3535
time(" injectEdgeLabelProxies", () => injectEdgeLabelProxies(g));
3636
time(" removeEmptyRanks", () => removeEmptyRanks(g));
3737
time(" nestingGraph.cleanup", () => nestingGraph.cleanup(g));

lib/position/index.js

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ let positionX = require("./bk").positionX;
66
module.exports = position;
77

88
function position(g) {
9-
g = util.asNonCompoundGraph(g);
10-
119
positionY(g);
1210
Object.entries(positionX(g)).forEach(([v, x]) => g.node(v).x = x);
1311
}

0 commit comments

Comments
 (0)