Skip to content

Commit

Permalink
Merge pull request #20 from Pr0dt0s/fix/19_iterate_properties
Browse files Browse the repository at this point in the history
iterate over properties
  • Loading branch information
tbo47 authored Mar 10, 2023
2 parents 761b78f + 91c18ed commit f14d9a1
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 f14d9a1

Please sign in to comment.