Commit Graph

7 Commits

Author SHA1 Message Date
Aaron
133bcc40ea
refactor(layout): export d3-force-3d from 3d extension (#5803)
* refactor(layout): export d3-force-3d from 3d extension

* refactor(layout): rename d3force to d3-force
2024-06-03 17:12:46 +08:00
Aaron
1c9fb182f7
perf: optimize element performance (#5800)
* perf: remove util isType usage

* fix(plugins): fix background plugin

* fix: fix autoFit not effect after draw

* test: add test case to draw 20000 elements

* feat(utils): add createGeometry util

* refactor(3d): optimize massive shape performance

* test: add massive 3d elements case
2024-06-03 11:21:33 +08:00
Aaron
7efd20eb79
refactor: move type config to element.type (#5661)
* refactor: redefine type of id

* refactor: move type config
2024-04-18 23:06:58 +08:00
Aaron
50ec5d8ef5
refactor: adapt new d3 force and d3 force 3d layout (#5635)
* feat(palettes): add tableau palette

* refactor(runtime): remove presetLayout, adapt new force layout

* feat(behaviors): support drag element force behaviors

* feat: adapt d3 force layout

* test: remove webgl dependencies
2024-04-11 14:20:03 +08:00
Aaron
6583288f83
feat: add 3d behaviors (#5614)
* refactor: adjust ExtensionCategory to enum

* feat(plugins): add camera setting plugin

* refactor(utils): shortcut support drag extend key

* refactor: adjust event type definition

* refactor: emit canvas event

* refactor: adjust exports

* refactor: adjust renderer

* feat(behaviors): add 3d behaviors

* test: add dev demos

* chore: adjust package.json

* refactor: fix getExtension type
2024-04-03 20:46:59 +08:00
Aaron
da5297cd8c
feat: add 3d elements, plugin (#5597)
* refactor: adjust exports, use enum replace const enum

* fix: fix issue that unexpected z attr

* feat(utils): add TupleMap and getCacheKey

* feat(elements): add 3d elements

* feat(plugins): add 3d light

* refactor: adjust 3d renderer

* refactor: adjust exports

* test: add demos

* chore: config packages.json, jest config

* test: fix test case

* chore: update g6-extension-3d version

* chore: setup project configs

* test: fix demo type issue

* chore: config tsconfig for type-check
2024-03-29 11:57:10 +08:00
Aaron
b7bbc29704
refactor: adjust project and add 3d extension package (#5497)
* refactor: remove g6-plugin-map-view and react-node

* refactor: adjust exports

* chore: update deps, use turbo to batch build

* feat(3d): init g6-extension-3d package

* chore: update turbo config

* refactor: fix cr issues
2024-03-05 19:13:37 +08:00