Skip to content

Commit

Permalink
Resolving package-lock.json
Browse files Browse the repository at this point in the history
  • Loading branch information
rustedgrail committed Jul 17, 2024
2 parents 295b3e1 + 0becb17 commit f096066
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function runLayout(g, time, opts) {
time(" removeSelfEdges", () => removeSelfEdges(g));
time(" acyclic", () => acyclic.run(g));
time(" nestingGraph.run", () => nestingGraph.run(g));
time(" rank", () => rank(util.asNonCompoundGraph(g)));
time(" rank", () => rank(g));
time(" injectEdgeLabelProxies", () => injectEdgeLabelProxies(g));
time(" removeEmptyRanks", () => removeEmptyRanks(g));
time(" nestingGraph.cleanup", () => nestingGraph.cleanup(g));
Expand Down
2 changes: 0 additions & 2 deletions lib/position/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ let positionX = require("./bk").positionX;
module.exports = position;

function position(g) {
g = util.asNonCompoundGraph(g);

positionY(g);
Object.entries(positionX(g)).forEach(([v, x]) => g.node(v).x = x);
}
Expand Down

0 comments on commit f096066

Please sign in to comment.