g6/packages/site/global.d.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

25 lines
343 B
TypeScript

export {};
declare global {
interface Window {
g6: any;
layoutGpu: any;
algorithm: any;
layoutWasm: any;
graphlib: any;
g6PluginMapView: any;
insertCss: any;
util: any;
stats: any;
g2: any;
graph: any;
React: any;
ReactDOM: any;
antd: any;
graph: any;
container: any;
}
}