g6/packages/site/.dumi/global.ts

12 lines
662 B
TypeScript
Raw Normal View History

2023-02-02 10:31:36 +08:00
if (window) {
// window.g6 = require('@antv/g6/es'); // import the source for debugging
2023-08-28 20:39:59 +08:00
(window as any).g6 = require('@antv/g6/lib'); // import the source for debugging
(window as any).layoutGPU = require('@antv/layout-gpu'); // import the source for debugging
(window as any).GraphLib = require('@antv/graphlib');
2023-08-24 10:17:57 +08:00
// (window as any).g6 = require('@antv/g6/dist/g6.min.js'); // import the package for webworker
2023-08-28 20:39:59 +08:00
(window as any).insertCss = require('insert-css');
(window as any).Chart = require('@antv/chart-node-g6');
(window as any).AntVUtil = require('@antv/util');
(window as any).GraphLayoutPredict = require('@antv/vis-predict-engine');
2023-08-24 10:17:57 +08:00
}