Skip to content

Commit

Permalink
manual layout tweaking (needs a better approach)
Browse files Browse the repository at this point in the history
  • Loading branch information
mstimberg committed Dec 4, 2024
1 parent bebf35e commit 16a15cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function layoutNodes() {
nodeDimensionsIncludeLabels: true,
centerGraph: false,
});
unconnected.forEach((eles, i) => {eles.restore(); eles.position("x", 500); eles.position("y", 200 + i*50);});
unconnected.forEach((eles, i) => {eles.restore(); eles.position("x", 250); eles.position("y", 200 + i*50);});
cy_layout.run();
}

Expand Down

0 comments on commit 16a15cf

Please sign in to comment.