Skip to content

Commit a4fb6da

Browse files
authored
Updating to 29 (#90)
1 parent fbee58a commit a4fb6da

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

dist/build.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93356,8 +93356,8 @@ azdataQueryPlan.prototype.placeGraphNodes = function () {
9335693356
this.paddingY = GRAPH_PADDING_TOP;
9335793357

9335893358
// Getting a good enough start value for the root node.
93359-
var startX = (this.paddingX + 150) / 2;
93360-
var startY = (this.paddingY + 150) / 2;
93359+
var startX = (this.paddingX + 10) / 2;
93360+
var startY = (this.paddingY + 10) / 2;
9336193361

9336293362
// Recursively layout all nodes starting with root
9336393363
this.setNodePositionRecursive(this.queryPlanGraph, startX, startY);
@@ -93368,7 +93368,7 @@ azdataQueryPlan.prototype.setNodePositionRecursive = function (node, x, y) {
9336893368
// Recursively setting all the x positions in the graph.
9336993369
this.setNodeXPositionRecursive(node, x);
9337093370
var layoutHelper = new GraphNodeLayoutHelper();
93371-
this.setNodeYPositionRecursive(node, layoutHelper, this.spacingY, y);
93371+
this.setNodeYPositionRecursive(node, layoutHelper, y);
9337293372
this.adjustGraphNodeHorizontalPositions(node);
9337393373
}
9337493374

dist/js/azdata/azdataQueryPlan.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,8 +479,8 @@ azdataQueryPlan.prototype.placeGraphNodes = function () {
479479
this.paddingY = GRAPH_PADDING_TOP;
480480

481481
// Getting a good enough start value for the root node.
482-
var startX = (this.paddingX + 150) / 2;
483-
var startY = (this.paddingY + 150) / 2;
482+
var startX = (this.paddingX + 10) / 2;
483+
var startY = (this.paddingY + 10) / 2;
484484

485485
// Recursively layout all nodes starting with root
486486
this.setNodePositionRecursive(this.queryPlanGraph, startX, startY);
@@ -491,7 +491,7 @@ azdataQueryPlan.prototype.setNodePositionRecursive = function (node, x, y) {
491491
// Recursively setting all the x positions in the graph.
492492
this.setNodeXPositionRecursive(node, x);
493493
var layoutHelper = new GraphNodeLayoutHelper();
494-
this.setNodeYPositionRecursive(node, layoutHelper, this.spacingY, y);
494+
this.setNodeYPositionRecursive(node, layoutHelper, y);
495495
this.adjustGraphNodeHorizontalPositions(node);
496496
}
497497

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "azdataGraph",
33
"description": "azdataGraph is a derivative of mxGraph, which is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.",
4-
"version": "0.0.28",
4+
"version": "0.0.29",
55
"homepage": "https://github.com/microsoft/azdataGraph",
66
"author": "Microsoft",
77
"license": "Apache-2.0",

src/js/azdata/azdataQueryPlan.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,8 +479,8 @@ azdataQueryPlan.prototype.placeGraphNodes = function () {
479479
this.paddingY = GRAPH_PADDING_TOP;
480480

481481
// Getting a good enough start value for the root node.
482-
var startX = (this.paddingX + 150) / 2;
483-
var startY = (this.paddingY + 150) / 2;
482+
var startX = (this.paddingX + 10) / 2;
483+
var startY = (this.paddingY + 10) / 2;
484484

485485
// Recursively layout all nodes starting with root
486486
this.setNodePositionRecursive(this.queryPlanGraph, startX, startY);
@@ -491,7 +491,7 @@ azdataQueryPlan.prototype.setNodePositionRecursive = function (node, x, y) {
491491
// Recursively setting all the x positions in the graph.
492492
this.setNodeXPositionRecursive(node, x);
493493
var layoutHelper = new GraphNodeLayoutHelper();
494-
this.setNodeYPositionRecursive(node, layoutHelper, this.spacingY, y);
494+
this.setNodeYPositionRecursive(node, layoutHelper, y);
495495
this.adjustGraphNodeHorizontalPositions(node);
496496
}
497497

0 commit comments

Comments
 (0)