Commit Graph

4 Commits

Author SHA1 Message Date
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
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