Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update graphlib version #5921

Merged
merged 2 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/g6/__tests__/demos/layout-compact-box-basic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const layoutCompactBoxBasic: TestCase = async (context) => {
...context,
autoFit: 'view',
data: treeToGraphData(data),
behaviors: ['drag-canvas', 'zoom-canvas', 'drag-element'],
behaviors: ['drag-canvas', 'zoom-canvas', 'drag-element', 'collapse-expand'],
node: {
style: {
labelText: (data) => data.id,
Expand Down
2 changes: 1 addition & 1 deletion packages/g6/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@antv/g": "^6.0.6",
"@antv/g-canvas": "^2.0.7",
"@antv/g-plugin-dragndrop": "^2.0.5",
"@antv/graphlib": "^2.0.2",
"@antv/graphlib": "^2.0.3",
"@antv/hierarchy": "^0.6.12",
"@antv/layout": "^1.2.14-beta.4",
"@antv/util": "^3.3.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/g6/src/runtime/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export class Graph extends EventEmitter {
}

/**
* <zh/> 获取当前图的缩放区间
* <zh/> 设置当前图的缩放区间
*
* <en/> Get the zoom range of the current graph
* @param zoomRange - <zh/> 缩放区间 | <en/> zoom range
Expand Down
1 change: 0 additions & 1 deletion packages/site/.dumi/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ if (window) {
window.layoutGpu = require('@antv/layout-gpu');
window.algorithm = require('@antv/algorithm');
window.layoutWasm = require('@antv/layout-wasm');
window.graphlib = require('@antv/graphlib');

window.insertCss = require('insert-css');
window.util = require('@antv/util');
Expand Down
1 change: 0 additions & 1 deletion packages/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"@antv/g6": "workspace:*",
"@antv/g6-extension-3d": "workspace:*",
"@antv/g6-extension-react": "workspace:*",
"@antv/graphlib": "^2.0.2",
"@antv/layout": "^1.2.14-beta.4",
"@antv/layout-gpu": "^1.1.5",
"@antv/layout-wasm": "^1.4.0",
Expand Down
Loading