From 16293fe7e69ace8a97365248007fe0433abbd863 Mon Sep 17 00:00:00 2001 From: "lixuefei.1313" Date: Fri, 10 Oct 2025 10:17:02 +0800 Subject: [PATCH 1/4] feat: support nodeDepthKey in sankey --- packages/vgrammar-sankey/src/interface.ts | 2 ++ packages/vgrammar-sankey/src/layout.ts | 12 +++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/packages/vgrammar-sankey/src/interface.ts b/packages/vgrammar-sankey/src/interface.ts index 80c8da217..68a63d599 100644 --- a/packages/vgrammar-sankey/src/interface.ts +++ b/packages/vgrammar-sankey/src/interface.ts @@ -94,6 +94,8 @@ export interface SankeyOptions { iterations?: number; /** parse the key of node, the defaultValue */ nodeKey?: string | number | ((datum: SankeyNodeDatum) => string | number); + /** parse the key of depth, the defaultValue */ + depthKey?: string | number | ((datum: SankeyNodeDatum) => string | number); /** sort link by this function */ linkSortBy?: (a: SankeyLinkElement, b: SankeyLinkElement) => number; /** sort node by this function */ diff --git a/packages/vgrammar-sankey/src/layout.ts b/packages/vgrammar-sankey/src/layout.ts index 16a1fe469..ccac97ab2 100644 --- a/packages/vgrammar-sankey/src/layout.ts +++ b/packages/vgrammar-sankey/src/layout.ts @@ -83,6 +83,7 @@ export class SankeyLayout { private options: SankeyOptions; private _getNodeKey?: (datum: SankeyNodeDatum) => string; + private _getNodeDepth?: (datum: SankeyNodeDatum) => number; private _alignFunc: ( node: SankeyNodeElement, maxDepth: number, @@ -110,8 +111,12 @@ export class SankeyLayout { this.options = Object.assign({}, SankeyLayout.defaultOptions, options); const keyOption = this.options.nodeKey; const keyFunc = isFunction(keyOption) ? keyOption : keyOption ? field(keyOption as string) : null; - this._getNodeKey = keyFunc; + + const depthOption = this.options.depthKey; + const depthFunc = isFunction(depthOption) ? depthOption : depthOption ? field(depthOption as string) : null; + this._getNodeDepth = depthFunc; + this._logger = Logger.getInstance(); this._alignFunc = isFunction(this.options.setNodeLayer) ? (node: SankeyNodeElement) => { @@ -264,7 +269,7 @@ export class SankeyLayout { nodeMap[nodeKey].value = undefined; } else { const nodeElement: SankeyNodeElement = { - depth, + depth: this._getNodeDepth ? this._getNodeDepth(node) ?? depth : depth, datum: node, index: index, key: nodeKey, @@ -487,7 +492,8 @@ export class SankeyLayout { if (node) { // 防止用户只设置了部分节点的层级 - node.depth = setNodeLayer ? setNodeLayer(node.datum) ?? depth : depth; + const tempDepth = setNodeLayer ? setNodeLayer(node.datum) ?? depth : depth; + node.depth = this._getNodeDepth ? this._getNodeDepth(node) ?? tempDepth : tempDepth; if (setNodeLayer) { maxDepth = Math.max(node.depth, maxDepth); From 3376361c352ea68aa6586dd8e7eab9d895d21660 Mon Sep 17 00:00:00 2001 From: "lixuefei.1313" Date: Fri, 10 Oct 2025 10:19:20 +0800 Subject: [PATCH 2/4] docs: update changlog of rush --- .../feat-support-node-depth_2025-10-10-02-19.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 common/changes/@visactor/vgrammar-core/feat-support-node-depth_2025-10-10-02-19.json diff --git a/common/changes/@visactor/vgrammar-core/feat-support-node-depth_2025-10-10-02-19.json b/common/changes/@visactor/vgrammar-core/feat-support-node-depth_2025-10-10-02-19.json new file mode 100644 index 000000000..6d8a5e316 --- /dev/null +++ b/common/changes/@visactor/vgrammar-core/feat-support-node-depth_2025-10-10-02-19.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "feat: support nodeDepthKey in sankey\n\n", + "type": "none", + "packageName": "@visactor/vgrammar-core" + } + ], + "packageName": "@visactor/vgrammar-core", + "email": "lixuef1313@163.com" +} \ No newline at end of file From 4f59ef9e3138087ee4b2558e819cac7c31f2131f Mon Sep 17 00:00:00 2001 From: "lixuefei.1313" Date: Fri, 10 Oct 2025 11:06:32 +0800 Subject: [PATCH 3/4] feat: support nodeDepthKey in sankey --- packages/vgrammar-sankey/src/layout.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vgrammar-sankey/src/layout.ts b/packages/vgrammar-sankey/src/layout.ts index ccac97ab2..5f92b31b0 100644 --- a/packages/vgrammar-sankey/src/layout.ts +++ b/packages/vgrammar-sankey/src/layout.ts @@ -493,7 +493,7 @@ export class SankeyLayout { if (node) { // 防止用户只设置了部分节点的层级 const tempDepth = setNodeLayer ? setNodeLayer(node.datum) ?? depth : depth; - node.depth = this._getNodeDepth ? this._getNodeDepth(node) ?? tempDepth : tempDepth; + node.depth = this._getNodeDepth ? this._getNodeDepth(node.datum) ?? tempDepth : tempDepth; if (setNodeLayer) { maxDepth = Math.max(node.depth, maxDepth); From a59c21768afb9b9561297ec56ea9e6d096f8dac0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 10 Oct 2025 03:28:13 +0000 Subject: [PATCH 4/4] build: release version 0.16.15 --- ...t-support-node-depth_2025-10-10-02-19.json | 11 --- common/config/rush/pnpm-lock.yaml | 96 +++++++++---------- common/config/rush/version-policies.json | 2 +- docs/dev-demos/package.json | 20 ++-- docs/site/package.json | 22 ++--- packages/vgrammar-coordinate/package.json | 4 +- packages/vgrammar-core/CHANGELOG.json | 12 +++ packages/vgrammar-core/CHANGELOG.md | 11 ++- packages/vgrammar-core/package.json | 6 +- packages/vgrammar-full/package.json | 18 ++-- packages/vgrammar-hierarchy/package.json | 6 +- packages/vgrammar-plot/package.json | 8 +- packages/vgrammar-projection/package.json | 6 +- packages/vgrammar-sankey/package.json | 6 +- packages/vgrammar-util/package.json | 2 +- packages/vgrammar-venn/package.json | 6 +- .../vgrammar-wordcloud-shape/package.json | 6 +- packages/vgrammar-wordcloud/package.json | 6 +- packages/vgrammar/package.json | 4 +- 19 files changed, 131 insertions(+), 121 deletions(-) delete mode 100644 common/changes/@visactor/vgrammar-core/feat-support-node-depth_2025-10-10-02-19.json diff --git a/common/changes/@visactor/vgrammar-core/feat-support-node-depth_2025-10-10-02-19.json b/common/changes/@visactor/vgrammar-core/feat-support-node-depth_2025-10-10-02-19.json deleted file mode 100644 index 6d8a5e316..000000000 --- a/common/changes/@visactor/vgrammar-core/feat-support-node-depth_2025-10-10-02-19.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "changes": [ - { - "comment": "feat: support nodeDepthKey in sankey\n\n", - "type": "none", - "packageName": "@visactor/vgrammar-core" - } - ], - "packageName": "@visactor/vgrammar-core", - "email": "lixuef1313@163.com" -} \ No newline at end of file diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 90a2c2b94..217f9b1d9 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -9,16 +9,16 @@ importers: specifiers: '@internal/eslint-config': workspace:* '@internal/ts-config': workspace:* - '@visactor/vgrammar': workspace:0.16.14 - '@visactor/vgrammar-coordinate': workspace:0.16.14 - '@visactor/vgrammar-core': workspace:0.16.14 - '@visactor/vgrammar-hierarchy': workspace:0.16.14 - '@visactor/vgrammar-plot': workspace:0.16.14 - '@visactor/vgrammar-projection': workspace:0.16.14 - '@visactor/vgrammar-sankey': workspace:0.16.14 - '@visactor/vgrammar-util': workspace:0.16.14 - '@visactor/vgrammar-wordcloud': workspace:0.16.14 - '@visactor/vgrammar-wordcloud-shape': workspace:0.16.14 + '@visactor/vgrammar': workspace:0.16.15 + '@visactor/vgrammar-coordinate': workspace:0.16.15 + '@visactor/vgrammar-core': workspace:0.16.15 + '@visactor/vgrammar-hierarchy': workspace:0.16.15 + '@visactor/vgrammar-plot': workspace:0.16.15 + '@visactor/vgrammar-projection': workspace:0.16.15 + '@visactor/vgrammar-sankey': workspace:0.16.15 + '@visactor/vgrammar-util': workspace:0.16.15 + '@visactor/vgrammar-wordcloud': workspace:0.16.15 + '@visactor/vgrammar-wordcloud-shape': workspace:0.16.15 '@visactor/vrender': 0.22.18 '@visactor/vrender-core': 0.22.18 '@visactor/vrender-kits': 0.22.18 @@ -60,17 +60,17 @@ importers: '@types/markdown-it': ^13.0.0 '@types/react': ^18.0.0 '@types/react-dom': ^18.0.0 - '@visactor/vgrammar': workspace:0.16.14 - '@visactor/vgrammar-coordinate': workspace:0.16.14 - '@visactor/vgrammar-core': workspace:0.16.14 - '@visactor/vgrammar-hierarchy': workspace:0.16.14 - '@visactor/vgrammar-plot': workspace:0.16.14 - '@visactor/vgrammar-projection': workspace:0.16.14 - '@visactor/vgrammar-sankey': workspace:0.16.14 - '@visactor/vgrammar-util': workspace:0.16.14 - '@visactor/vgrammar-venn': workspace:0.16.14 - '@visactor/vgrammar-wordcloud': workspace:0.16.14 - '@visactor/vgrammar-wordcloud-shape': workspace:0.16.14 + '@visactor/vgrammar': workspace:0.16.15 + '@visactor/vgrammar-coordinate': workspace:0.16.15 + '@visactor/vgrammar-core': workspace:0.16.15 + '@visactor/vgrammar-hierarchy': workspace:0.16.15 + '@visactor/vgrammar-plot': workspace:0.16.15 + '@visactor/vgrammar-projection': workspace:0.16.15 + '@visactor/vgrammar-sankey': workspace:0.16.15 + '@visactor/vgrammar-util': workspace:0.16.15 + '@visactor/vgrammar-venn': workspace:0.16.15 + '@visactor/vgrammar-wordcloud': workspace:0.16.15 + '@visactor/vgrammar-wordcloud-shape': workspace:0.16.15 '@visactor/vrender': 0.22.18 '@visactor/vrender-core': 0.22.18 '@visactor/vrender-kits': 0.22.18 @@ -153,7 +153,7 @@ importers: '@types/d3-geo': ^1.11.1 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.16.14 + '@visactor/vgrammar-core': workspace:0.16.15 d3-array: 1.x eslint: ~8.18.0 jest: ~29.5.0 @@ -191,7 +191,7 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-util': workspace:0.16.14 + '@visactor/vgrammar-util': workspace:0.16.15 '@visactor/vutils': ~0.19.5 eslint: ~8.18.0 jest: ~29.5.0 @@ -229,8 +229,8 @@ importers: '@types/jest': ~29.5.0 '@types/node': '*' '@visactor/vdataset': ~0.19.5 - '@visactor/vgrammar-coordinate': workspace:0.16.14 - '@visactor/vgrammar-util': workspace:0.16.14 + '@visactor/vgrammar-coordinate': workspace:0.16.15 + '@visactor/vgrammar-util': workspace:0.16.15 '@visactor/vrender-components': 0.22.18 '@visactor/vrender-core': 0.22.18 '@visactor/vrender-kits': 0.22.18 @@ -279,14 +279,14 @@ importers: '@types/jest': ~29.5.0 '@types/node': '*' '@types/node-fetch': 2.6.4 - '@visactor/vgrammar-core': workspace:0.16.14 - '@visactor/vgrammar-hierarchy': workspace:0.16.14 - '@visactor/vgrammar-plot': workspace:0.16.14 - '@visactor/vgrammar-projection': workspace:0.16.14 - '@visactor/vgrammar-sankey': workspace:0.16.14 - '@visactor/vgrammar-venn': workspace:0.16.14 - '@visactor/vgrammar-wordcloud': workspace:0.16.14 - '@visactor/vgrammar-wordcloud-shape': workspace:0.16.14 + '@visactor/vgrammar-core': workspace:0.16.15 + '@visactor/vgrammar-hierarchy': workspace:0.16.15 + '@visactor/vgrammar-plot': workspace:0.16.15 + '@visactor/vgrammar-projection': workspace:0.16.15 + '@visactor/vgrammar-sankey': workspace:0.16.15 + '@visactor/vgrammar-venn': workspace:0.16.15 + '@visactor/vgrammar-wordcloud': workspace:0.16.15 + '@visactor/vgrammar-wordcloud-shape': workspace:0.16.15 d3-array: 1.x eslint: ~8.18.0 form-data: ~4.0.0 @@ -338,8 +338,8 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.16.14 - '@visactor/vgrammar-util': workspace:0.16.14 + '@visactor/vgrammar-core': workspace:0.16.15 + '@visactor/vgrammar-util': workspace:0.16.15 '@visactor/vrender-core': 0.22.18 '@visactor/vrender-kits': 0.22.18 '@visactor/vutils': ~0.19.5 @@ -382,9 +382,9 @@ importers: '@types/d3-geo': ^1.11.1 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-coordinate': workspace:0.16.14 - '@visactor/vgrammar-core': workspace:0.16.14 - '@visactor/vgrammar-util': workspace:0.16.14 + '@visactor/vgrammar-coordinate': workspace:0.16.15 + '@visactor/vgrammar-core': workspace:0.16.15 + '@visactor/vgrammar-util': workspace:0.16.15 '@visactor/vrender-components': 0.22.18 '@visactor/vrender-core': 0.22.18 '@visactor/vrender-kits': 0.22.18 @@ -435,8 +435,8 @@ importers: '@types/d3-geo': ^1.11.1 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.16.14 - '@visactor/vgrammar-util': workspace:0.16.14 + '@visactor/vgrammar-core': workspace:0.16.15 + '@visactor/vgrammar-util': workspace:0.16.15 '@visactor/vutils': ~0.19.5 d3-array: 1.x d3-geo: ^1.12.1 @@ -479,8 +479,8 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.16.14 - '@visactor/vgrammar-util': workspace:0.16.14 + '@visactor/vgrammar-core': workspace:0.16.15 + '@visactor/vgrammar-util': workspace:0.16.15 '@visactor/vrender-core': 0.22.18 '@visactor/vrender-kits': 0.22.18 '@visactor/vutils': ~0.19.5 @@ -559,8 +559,8 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.16.14 - '@visactor/vgrammar-util': workspace:0.16.14 + '@visactor/vgrammar-core': workspace:0.16.15 + '@visactor/vgrammar-util': workspace:0.16.15 '@visactor/vrender-core': 0.22.18 '@visactor/vrender-kits': 0.22.18 '@visactor/vutils': ~0.19.5 @@ -602,8 +602,8 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.16.14 - '@visactor/vgrammar-util': workspace:0.16.14 + '@visactor/vgrammar-core': workspace:0.16.15 + '@visactor/vgrammar-util': workspace:0.16.15 '@visactor/vrender-core': 0.22.18 '@visactor/vrender-kits': 0.22.18 '@visactor/vutils': ~0.19.5 @@ -645,8 +645,8 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.16.14 - '@visactor/vgrammar-util': workspace:0.16.14 + '@visactor/vgrammar-core': workspace:0.16.15 + '@visactor/vgrammar-util': workspace:0.16.15 '@visactor/vrender-core': 0.22.18 '@visactor/vrender-kits': 0.22.18 '@visactor/vscale': ~0.19.5 diff --git a/common/config/rush/version-policies.json b/common/config/rush/version-policies.json index 8d2c2aa23..6ba406050 100644 --- a/common/config/rush/version-policies.json +++ b/common/config/rush/version-policies.json @@ -1 +1 @@ -[{"definitionName":"lockStepVersion","policyName":"vgrammarMain","version":"0.16.14","mainProject":"@visactor/vgrammar-core","nextBump":"patch"}] +[{"definitionName":"lockStepVersion","policyName":"vgrammarMain","version":"0.16.15","mainProject":"@visactor/vgrammar-core","nextBump":"patch"}] diff --git a/docs/dev-demos/package.json b/docs/dev-demos/package.json index 3357e2b8d..df9f87c19 100644 --- a/docs/dev-demos/package.json +++ b/docs/dev-demos/package.json @@ -12,14 +12,14 @@ "@internal/eslint-config": "workspace:*", "@internal/ts-config": "workspace:*", "@visactor/vutils": "~0.19.5", - "@visactor/vgrammar": "workspace:0.16.14", - "@visactor/vgrammar-core": "workspace:0.16.14", - "@visactor/vgrammar-hierarchy": "workspace:0.16.14", - "@visactor/vgrammar-sankey": "workspace:0.16.14", - "@visactor/vgrammar-projection": "workspace:0.16.14", - "@visactor/vgrammar-wordcloud": "workspace:0.16.14", - "@visactor/vgrammar-wordcloud-shape": "workspace:0.16.14", - "@visactor/vgrammar-plot": "workspace:0.16.14", + "@visactor/vgrammar": "workspace:0.16.15", + "@visactor/vgrammar-core": "workspace:0.16.15", + "@visactor/vgrammar-hierarchy": "workspace:0.16.15", + "@visactor/vgrammar-sankey": "workspace:0.16.15", + "@visactor/vgrammar-projection": "workspace:0.16.15", + "@visactor/vgrammar-wordcloud": "workspace:0.16.15", + "@visactor/vgrammar-wordcloud-shape": "workspace:0.16.15", + "@visactor/vgrammar-plot": "workspace:0.16.15", "@visactor/vrender-core": "0.22.18", "@visactor/vrender-kits": "0.22.18", "@visactor/vrender": "0.22.18", @@ -27,8 +27,8 @@ "lodash": "4.17.21", "typescript": "4.9.5", "vite": "3.2.6", - "@visactor/vgrammar-util": "workspace:0.16.14", - "@visactor/vgrammar-coordinate": "workspace:0.16.14", + "@visactor/vgrammar-util": "workspace:0.16.15", + "@visactor/vgrammar-coordinate": "workspace:0.16.15", "@vitejs/plugin-react": "3.1.0" } } diff --git a/docs/site/package.json b/docs/site/package.json index c545fd57e..de7f19162 100644 --- a/docs/site/package.json +++ b/docs/site/package.json @@ -14,17 +14,17 @@ "dependencies": { "@arco-design/web-react": "2.46.1", "@visactor/vutils": "~0.19.5", - "@visactor/vgrammar": "workspace:0.16.14", - "@visactor/vgrammar-core": "workspace:0.16.14", - "@visactor/vgrammar-hierarchy": "workspace:0.16.14", - "@visactor/vgrammar-sankey": "workspace:0.16.14", - "@visactor/vgrammar-projection": "workspace:0.16.14", - "@visactor/vgrammar-wordcloud": "workspace:0.16.14", - "@visactor/vgrammar-wordcloud-shape": "workspace:0.16.14", - "@visactor/vgrammar-plot": "workspace:0.16.14", - "@visactor/vgrammar-util": "workspace:0.16.14", - "@visactor/vgrammar-coordinate": "workspace:0.16.14", - "@visactor/vgrammar-venn": "workspace:0.16.14", + "@visactor/vgrammar": "workspace:0.16.15", + "@visactor/vgrammar-core": "workspace:0.16.15", + "@visactor/vgrammar-hierarchy": "workspace:0.16.15", + "@visactor/vgrammar-sankey": "workspace:0.16.15", + "@visactor/vgrammar-projection": "workspace:0.16.15", + "@visactor/vgrammar-wordcloud": "workspace:0.16.15", + "@visactor/vgrammar-wordcloud-shape": "workspace:0.16.15", + "@visactor/vgrammar-plot": "workspace:0.16.15", + "@visactor/vgrammar-util": "workspace:0.16.15", + "@visactor/vgrammar-coordinate": "workspace:0.16.15", + "@visactor/vgrammar-venn": "workspace:0.16.15", "@visactor/vrender-core": "0.22.18", "@visactor/vrender-kits": "0.22.18", "@visactor/vrender": "0.22.18", diff --git a/packages/vgrammar-coordinate/package.json b/packages/vgrammar-coordinate/package.json index 4fb9c7f2f..9ec0d3f0b 100644 --- a/packages/vgrammar-coordinate/package.json +++ b/packages/vgrammar-coordinate/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-coordinate", - "version": "0.16.14", + "version": "0.16.15", "description": "Coordinates for VGrammar", "keywords": [ "coordinate", @@ -35,7 +35,7 @@ }, "dependencies": { "@visactor/vutils": "~0.19.5", - "@visactor/vgrammar-util": "workspace:0.16.14" + "@visactor/vgrammar-util": "workspace:0.16.15" }, "devDependencies": { "@internal/bundler": "workspace:*", diff --git a/packages/vgrammar-core/CHANGELOG.json b/packages/vgrammar-core/CHANGELOG.json index c338ca2e9..5f5a1ed14 100644 --- a/packages/vgrammar-core/CHANGELOG.json +++ b/packages/vgrammar-core/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@visactor/vgrammar-core", "entries": [ + { + "version": "0.16.15", + "tag": "@visactor/vgrammar-core_v0.16.15", + "date": "Fri, 10 Oct 2025 03:23:54 GMT", + "comments": { + "none": [ + { + "comment": "feat: support nodeDepthKey in sankey\n\n" + } + ] + } + }, { "version": "0.16.14", "tag": "@visactor/vgrammar-core_v0.16.14", diff --git a/packages/vgrammar-core/CHANGELOG.md b/packages/vgrammar-core/CHANGELOG.md index aa7114705..7e6147b61 100644 --- a/packages/vgrammar-core/CHANGELOG.md +++ b/packages/vgrammar-core/CHANGELOG.md @@ -1,6 +1,15 @@ # Change Log - @visactor/vgrammar-core -This log was last generated on Wed, 10 Sep 2025 02:22:15 GMT and should not be manually modified. +This log was last generated on Fri, 10 Oct 2025 03:23:54 GMT and should not be manually modified. + +## 0.16.15 +Fri, 10 Oct 2025 03:23:54 GMT + +### Updates + +- feat: support nodeDepthKey in sankey + + ## 0.16.14 Wed, 10 Sep 2025 02:22:15 GMT diff --git a/packages/vgrammar-core/package.json b/packages/vgrammar-core/package.json index 70b6fc546..d141350f6 100644 --- a/packages/vgrammar-core/package.json +++ b/packages/vgrammar-core/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-core", - "version": "0.16.14", + "version": "0.16.15", "description": "VGrammar is a visual grammar library", "keywords": [ "grammar", @@ -37,8 +37,8 @@ "dependencies": { "@visactor/vutils": "~0.19.5", "@visactor/vdataset": "~0.19.5", - "@visactor/vgrammar-coordinate": "workspace:0.16.14", - "@visactor/vgrammar-util": "workspace:0.16.14", + "@visactor/vgrammar-coordinate": "workspace:0.16.15", + "@visactor/vgrammar-util": "workspace:0.16.15", "@visactor/vscale": "~0.19.5", "@visactor/vrender-core": "0.22.18", "@visactor/vrender-kits": "0.22.18", diff --git a/packages/vgrammar-full/package.json b/packages/vgrammar-full/package.json index 38e6cc322..7e1d7aeed 100644 --- a/packages/vgrammar-full/package.json +++ b/packages/vgrammar-full/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-full", - "version": "0.16.14", + "version": "0.16.15", "description": "full packages of vgrammar.", "keywords": [ "visualization", @@ -33,14 +33,14 @@ "test": "" }, "dependencies": { - "@visactor/vgrammar-core": "workspace:0.16.14", - "@visactor/vgrammar-hierarchy": "workspace:0.16.14", - "@visactor/vgrammar-plot": "workspace:0.16.14", - "@visactor/vgrammar-projection": "workspace:0.16.14", - "@visactor/vgrammar-sankey": "workspace:0.16.14", - "@visactor/vgrammar-wordcloud": "workspace:0.16.14", - "@visactor/vgrammar-wordcloud-shape": "workspace:0.16.14", - "@visactor/vgrammar-venn": "workspace:0.16.14" + "@visactor/vgrammar-core": "workspace:0.16.15", + "@visactor/vgrammar-hierarchy": "workspace:0.16.15", + "@visactor/vgrammar-plot": "workspace:0.16.15", + "@visactor/vgrammar-projection": "workspace:0.16.15", + "@visactor/vgrammar-sankey": "workspace:0.16.15", + "@visactor/vgrammar-wordcloud": "workspace:0.16.15", + "@visactor/vgrammar-wordcloud-shape": "workspace:0.16.15", + "@visactor/vgrammar-venn": "workspace:0.16.15" }, "devDependencies": { "d3-array": "1.x", diff --git a/packages/vgrammar-hierarchy/package.json b/packages/vgrammar-hierarchy/package.json index 0dced415b..3aa7ad247 100644 --- a/packages/vgrammar-hierarchy/package.json +++ b/packages/vgrammar-hierarchy/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-hierarchy", - "version": "0.16.14", + "version": "0.16.15", "description": "Layout of hierarchical data for VGrammar", "keywords": [ "hierarchy", @@ -39,8 +39,8 @@ }, "dependencies": { "@visactor/vutils": "~0.19.5", - "@visactor/vgrammar-core": "workspace:0.16.14", - "@visactor/vgrammar-util": "workspace:0.16.14", + "@visactor/vgrammar-core": "workspace:0.16.15", + "@visactor/vgrammar-util": "workspace:0.16.15", "@visactor/vrender-core": "0.22.18", "@visactor/vrender-kits": "0.22.18" }, diff --git a/packages/vgrammar-plot/package.json b/packages/vgrammar-plot/package.json index 050a9ddcd..c627757ff 100644 --- a/packages/vgrammar-plot/package.json +++ b/packages/vgrammar-plot/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-plot", - "version": "0.16.14", + "version": "0.16.15", "description": "Plots of vgrammar.", "keywords": [ "plot", @@ -36,9 +36,9 @@ "dependencies": { "@visactor/vscale": "~0.19.5", "@visactor/vutils": "~0.19.5", - "@visactor/vgrammar-util": "workspace:0.16.14", - "@visactor/vgrammar-coordinate": "workspace:0.16.14", - "@visactor/vgrammar-core": "workspace:0.16.14", + "@visactor/vgrammar-util": "workspace:0.16.15", + "@visactor/vgrammar-coordinate": "workspace:0.16.15", + "@visactor/vgrammar-core": "workspace:0.16.15", "@visactor/vrender-components": "0.22.18", "@visactor/vrender-core": "0.22.18", "@visactor/vrender-kits": "0.22.18" diff --git a/packages/vgrammar-projection/package.json b/packages/vgrammar-projection/package.json index db207173a..2f64c59c5 100644 --- a/packages/vgrammar-projection/package.json +++ b/packages/vgrammar-projection/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-projection", - "version": "0.16.14", + "version": "0.16.15", "description": "Projections for map, used in VGrammar.", "keywords": [ "projection", @@ -35,8 +35,8 @@ }, "dependencies": { "@visactor/vutils": "~0.19.5", - "@visactor/vgrammar-util": "workspace:0.16.14", - "@visactor/vgrammar-core": "workspace:0.16.14", + "@visactor/vgrammar-util": "workspace:0.16.15", + "@visactor/vgrammar-core": "workspace:0.16.15", "d3-geo": "^1.12.1" }, "devDependencies": { diff --git a/packages/vgrammar-sankey/package.json b/packages/vgrammar-sankey/package.json index cd32313b2..73b86187b 100644 --- a/packages/vgrammar-sankey/package.json +++ b/packages/vgrammar-sankey/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-sankey", - "version": "0.16.14", + "version": "0.16.15", "description": "Layout of sankey chart, used by VGrammar", "keywords": [ "sankey", @@ -37,8 +37,8 @@ }, "dependencies": { "@visactor/vutils": "~0.19.5", - "@visactor/vgrammar-core": "workspace:0.16.14", - "@visactor/vgrammar-util": "workspace:0.16.14", + "@visactor/vgrammar-core": "workspace:0.16.15", + "@visactor/vgrammar-util": "workspace:0.16.15", "@visactor/vrender-core": "0.22.18", "@visactor/vrender-kits": "0.22.18" }, diff --git a/packages/vgrammar-util/package.json b/packages/vgrammar-util/package.json index b7be94bcf..625e4f920 100644 --- a/packages/vgrammar-util/package.json +++ b/packages/vgrammar-util/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-util", - "version": "0.16.14", + "version": "0.16.15", "description": "The common utils functions of VGrammar", "keywords": [ "utils", diff --git a/packages/vgrammar-venn/package.json b/packages/vgrammar-venn/package.json index baa18c2a0..2eaecccbf 100644 --- a/packages/vgrammar-venn/package.json +++ b/packages/vgrammar-venn/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-venn", - "version": "0.16.14", + "version": "0.16.15", "description": "Venn layout transform for VGrammar", "keywords": [ "venn", @@ -34,8 +34,8 @@ "test-check": "DEBUG=jest jest --forceExit --detectOpenHandles --silent false --verbose false --runInBand" }, "dependencies": { - "@visactor/vgrammar-core": "workspace:0.16.14", - "@visactor/vgrammar-util": "workspace:0.16.14", + "@visactor/vgrammar-core": "workspace:0.16.15", + "@visactor/vgrammar-util": "workspace:0.16.15", "@visactor/vrender-core": "0.22.18", "@visactor/vrender-kits": "0.22.18", "@visactor/vutils": "~0.19.5" diff --git a/packages/vgrammar-wordcloud-shape/package.json b/packages/vgrammar-wordcloud-shape/package.json index 75a4c92ee..6e7d191fa 100644 --- a/packages/vgrammar-wordcloud-shape/package.json +++ b/packages/vgrammar-wordcloud-shape/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-wordcloud-shape", - "version": "0.16.14", + "version": "0.16.15", "description": "Layout WordCloud in specified shape, this is a transform for VGrammar.", "keywords": [ "wordcloud", @@ -36,8 +36,8 @@ "dependencies": { "@visactor/vutils": "~0.19.5", "@visactor/vscale": "~0.19.5", - "@visactor/vgrammar-core": "workspace:0.16.14", - "@visactor/vgrammar-util": "workspace:0.16.14", + "@visactor/vgrammar-core": "workspace:0.16.15", + "@visactor/vgrammar-util": "workspace:0.16.15", "@visactor/vrender-core": "0.22.18", "@visactor/vrender-kits": "0.22.18" }, diff --git a/packages/vgrammar-wordcloud/package.json b/packages/vgrammar-wordcloud/package.json index 13f18a7ee..e1abfeb60 100644 --- a/packages/vgrammar-wordcloud/package.json +++ b/packages/vgrammar-wordcloud/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-wordcloud", - "version": "0.16.14", + "version": "0.16.15", "description": "WordCloud layout transform for VGrammar", "keywords": [ "wordcloud", @@ -35,8 +35,8 @@ }, "dependencies": { "@visactor/vutils": "~0.19.5", - "@visactor/vgrammar-core": "workspace:0.16.14", - "@visactor/vgrammar-util": "workspace:0.16.14", + "@visactor/vgrammar-core": "workspace:0.16.15", + "@visactor/vgrammar-util": "workspace:0.16.15", "@visactor/vrender-core": "0.22.18", "@visactor/vrender-kits": "0.22.18" }, diff --git a/packages/vgrammar/package.json b/packages/vgrammar/package.json index bf736eec5..a39f6cb47 100644 --- a/packages/vgrammar/package.json +++ b/packages/vgrammar/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar", - "version": "0.16.14", + "version": "0.16.15", "description": "simple package of vgrammar.", "keywords": [ "visualization", @@ -30,7 +30,7 @@ "test": "" }, "dependencies": { - "@visactor/vgrammar-core": "workspace:0.16.14" + "@visactor/vgrammar-core": "workspace:0.16.15" }, "devDependencies": { "d3-array": "1.x",