From 68f6a2fa2df7fb43cb554e0e4050f1cdc1e7a3f0 Mon Sep 17 00:00:00 2001 From: Aaron Date: Wed, 3 Jul 2024 10:45:17 +0800 Subject: [PATCH] refactor: adjust exports (#5957) --- packages/g6/src/exports.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/g6/src/exports.ts b/packages/g6/src/exports.ts index 6cbe72ee44..f34624a8b9 100644 --- a/packages/g6/src/exports.ts +++ b/packages/g6/src/exports.ts @@ -78,6 +78,7 @@ export { export { getExtension, getExtensions, register } from './registry'; export { Graph } from './runtime/graph'; export { BaseTransform } from './transforms'; +export { isCollapsed } from './utils/collapsibility'; export { idOf } from './utils/id'; export { invokeLayoutMethod } from './utils/layout'; export { omitStyleProps, subStyleProps } from './utils/prefix'; @@ -189,6 +190,7 @@ export type { AnimationStage } from './spec/element/animation'; export type { LayoutOptions, STDLayoutOptions, SingleLayoutOptions } from './spec/layout'; export type { CustomPluginOption } from './spec/plugin'; export type { BaseTransformOptions } from './transforms'; +export type { DrawData } from './transforms/types'; export type { BaseElementStyleProps, CardinalPlacement,