Skip to content

Commit

Permalink
fix: fix transform names
Browse files Browse the repository at this point in the history
  • Loading branch information
xile611 committed Feb 13, 2025
1 parent 9ba862d commit 78f99d5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/vgrammar-sankey/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { transform } from './transform';
import { SankeyHighlight } from './sankey-highlight';

export { SankeyLayout } from './layout';
export { transform };
export const sankeyTransform = transform;

export * from './interface';
export * from './format';
Expand Down
3 changes: 2 additions & 1 deletion packages/vgrammar-venn/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import { transform, transformMark } from './venn';
export * from './interface';
export * from './animation';

export { transform, transformMark };
export const vennTransform = transform;
export const vennMarkTransform = transformMark;

export const registerVennTransforms = () => {
Factory.registerTransform(
Expand Down
2 changes: 1 addition & 1 deletion packages/vgrammar-wordcloud-shape/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ export const registerWordCloudShapeTransforms = () => {
Factory.registerTransform('wordcloudShape', { transform, markPhase: 'beforeJoin' }, true);
};

export { transform };
export const wordcloudShapeTransform = transform;
2 changes: 1 addition & 1 deletion packages/vgrammar-wordcloud/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export const registerWordCloudTransforms = () => {
);
};

export { transform };
export const wordcloudTransform = transform;

export { shapes } from '@visactor/vgrammar-util';

0 comments on commit 78f99d5

Please sign in to comment.