Skip to content

Commit

Permalink
Fixing layout
Browse files Browse the repository at this point in the history
  • Loading branch information
aasimkhan30 committed Jan 24, 2025
1 parent 5be21ba commit eb28ab7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "azdataGraph",
"description": "azdataGraph is a derivative of mxGraph, which is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.",
"version": "0.0.76",
"version": "0.0.77",
"homepage": "https://github.com/microsoft/azdataGraph",
"author": "Microsoft",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/ts/schemaDesigner/schemaDesignerLayout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class SchemaDesignerLayout extends mx.mxHierarchicalLayout {

// Move all cells to the right by 100px
let cells = this.graph.getModel().getChildCells(this.graph.getDefaultParent());
this.graph.moveCells(cells, 100, 0, false);
this.graph.moveCells(cells, 50, 50, false);

cells = cells.filter(cell => !cell.edge);
const cellSet = new Set(cells.map(cell => cell.id));
Expand Down

0 comments on commit eb28ab7

Please sign in to comment.