mirror of
https://gitee.com/antv/g6.git
synced 2024-12-04 12:49:04 +08:00
0690995a0b
* 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>
24 lines
928 B
TypeScript
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');
|
|
}
|