g6/packages/site/.dumi/global.ts
Aaron 0690995a0b
feat: add react-node for v5 (#5079)
* chore: remove old react-node package

* feat: upsertShape support create html element

* feat(react-node): init react-node package

* chore: update global config and ant-design/icons version

* style: fix lint errors

* refactor(react-node): adpapt to lastest react-g

* fix: unregister dom-interaction plugin in transient & background canvases

* chore: update demos

* feat: support jsx node drag

* docs: add demo

* fix: fix type errors

* refactor: add site demos

* chore: update pnpm-lock

* refactor: adapt to upsertShape adjust

* chore: update latest g versions

---------

Co-authored-by: yuqi.pyq <yuqi.pyq@antgroup.com>
2023-12-11 22:27:31 +08:00

24 lines
928 B
TypeScript

// @ts-nocheck
if (window) {
// window.g6 = require('@antv/g6/es'); // import the source for debugging
window.g6 = require('@antv/g6/lib'); // import the source for debugging
window.layoutGpu = require('@antv/layout-gpu'); // import the source for debugging
window.algorithm = require('@antv/algorithm');
window.layoutWasm = require('@antv/layout-wasm'); // import the source for debugging
window.graphlib = require('@antv/graphlib');
window.g6PluginMapView = require('@antv/g6-plugin-map-view');
// window.g6 = require('@antv/g6/diFst/g6.min.js'); // import the package for webworker
window.insertCss = require('insert-css');
window.util = require('@antv/util');
window.stats = require('stats.js');
window.g2 = require('@antv/g2');
window.antd = require('antd');
window.React = require('react');
window.ReactDOM = require('react-dom');
window.g6ReactNode = require('@antv/g6-react-node');
}