We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bb8305 commit 087f4f8Copy full SHA for 087f4f8
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "graph-creator",
3
- "version": "0.8.8",
+ "version": "0.8.1",
4
"main": "index.html",
5
"window": {
6
"height": 1024,
src/fileWrite.js
@@ -275,7 +275,9 @@ function parsePositions(posData){
275
//Go through each nodes position and assign it
276
for(key in positions){
277
cy.getElementById(key).position('x', 1080 * positions[key][0]);
278
- cy.getElementById(key).position('y', 720 * positions[key][1]);
+
279
+ //We have to adjust the y positions as they're inverted when we write them
280
+ cy.getElementById(key).position('y', 720 * (positions[key][1] - 1) * -1);
281
}
282
283
0 commit comments