Skip to content

Commit

Permalink
iterate over properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr0dt0s authored Mar 10, 2023
1 parent 761b78f commit 91c18ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dagre/position/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function position(g) {
g = util.asNonCompoundGraph(g);

positionY(g);
_.forEach(positionX(g), function (x, v) {
_.forOwn(positionX(g), function (x, v) {
g.node(v).x = x;
});
}
Expand Down

0 comments on commit 91c18ed

Please sign in to comment.