Skip to content

Commit

Permalink
Upgrade dependencies and modify create-graph
Browse files Browse the repository at this point in the history
Upgraded the version of all dependencies in package.json to their latest version. Also, an 'anchor' property has been added to the 'snap' object in the create-graph.ts file for better handling of node connections in the graph.
  • Loading branch information
sfmskywalker committed Jan 18, 2024
1 parent f89dedb commit f0cef66
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
26 changes: 13 additions & 13 deletions src/modules/Elsa.Studio.Workflows.Designer/ClientLib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@
"license": "MIT",
"version": "1.0.0",
"dependencies": {
"@antv/layout": "^0.3.24",
"@antv/x6": "^2.11.4",
"@antv/layout": "^0.3.25",
"@antv/x6": "^2.17.1",
"@antv/x6-plugin-clipboard": "^2.1.6",
"@antv/x6-plugin-history": "^2.2.3",
"@antv/x6-plugin-keyboard": "^2.2.1",
"@antv/x6-plugin-scroller": "^2.0.9",
"@antv/x6-plugin-selection": "^2.1.7",
"@antv/x6-plugin-history": "^2.2.4",
"@antv/x6-plugin-keyboard": "^2.2.2",
"@antv/x6-plugin-scroller": "^2.0.10",
"@antv/x6-plugin-selection": "^2.2.1",
"@antv/x6-plugin-snapline": "^2.1.7",
"@antv/x6-plugin-transform": "^2.1.7",
"@antv/x6-plugin-transform": "^2.1.8",
"lodash.camelcase": "^4.3.0",
"uuid": "^9.0.0"
"uuid": "^9.0.1"
},
"devDependencies": {
"css-loader": "^6.8.1",
"style-loader": "^3.3.3",
"ts-loader": "^9.4.4",
"typescript": "^5.1.6",
"webpack": "^5.88.1",
"css-loader": "^6.9.0",
"style-loader": "^3.3.4",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ export async function createGraph(containerId: string, componentRef: DotNetCompo
connectionPoint: 'anchor',
allowBlank: false,
snap: {
radius: 20
radius: 20,
anchor: "bbox"
},
createEdge() {
return graph.createEdge({
Expand Down

0 comments on commit f0cef66

Please sign in to comment.