Commit Graph

19 Commits

Author SHA1 Message Date
Aaron
66d9812860
chore: update version (#5805) 2024-06-03 17:42:20 +08:00
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
320c063977
fix: fix jest config (#5786) 2024-05-29 21:10:16 +08:00
Yuxin
77dbba54e6
feat: add parallel edge demo (#5741)
* refactor: add get-edge-actual-ends transform;fix: refine process-parellel-edges

* feat: add parallel edge demo

* feat: add badge offsetX/offsetY

* refactor: change ProcedureData class to type
2024-05-17 19:40:19 +08:00
Aaron
2109e25895
chore: update 3d and react publish config (#5742)
* chore: update 3d and react publish config

* chore: update g6 version to beta.36
2024-05-16 14:19:30 +08:00
xiaoiver
36e39e5582
fix: update to latest @antv/g (#5702)
* fix: use transform instead of x/y/z

* fix: use transform instead of x/y in label

* chore: remove site docs apis

* chore: remove incorrect snapshots

* fix: image & icon node

* fix: update to latest @antv/component

* fix: combo & plugin bubble set

* chore: update behavior snapshots

* fix: edge loop curve & combo

* chore: unit tests

* fix: animation

* chore: force update snapshots

* chore: update lasso snapshots

* chore: update deps

* chore: update to latest g & g2 deps
2024-05-15 13:00:22 +08:00
Yuxin
71fed76616
refactor: adjust element types (#5693)
* refactor: adjust types

* docs: add comments

* refactor: reorganize api directory structure

* docs: refine element docs
2024-04-30 15:42:11 +08:00
Aaron
ce3c064943
chore: adjust umd name (#5668) 2024-04-22 18:17:44 +08:00
Aaron
d78863beee
refactor: adjust exports and api (#5665)
* refactor: adjust exports

* refactor: adjust collapse and expand api

* refactor: adapt export adjust
2024-04-22 14:04:35 +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
79c18aa59d
feat: add HTML node, g node, react node (#5654)
* feat(elements): add html node

* fix: fix issue that unexpected invoke sequence cause exception

* refactor: adjust exports

* feat(react): create g6-extension-react

* test: update test case

* chore: update dependencies

* fix: fix cr issue

* chore: adjust jest config
2024-04-18 10:05:05 +08:00
Aaron
cd073f7e23
fix: fix types of elements (#5649) 2024-04-16 20:57:20 +08:00
Aaron
d682460a22
fix(graph): fix issue that toDataURL export blank image (#5647)
* fix(graph): fix issue that toDataURL not correct

* test: remove id from svg snapshots
2024-04-16 15:39:38 +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
6425dbcba3
test: adjust test structure (#5607)
* chore: use swc/jest replace ts-jest

* test: adjust test env and cases

* chore: remove prettier to format snapshot

* test: update snapshots

* chore: adsjut test case

* refactor: optmize canvas destroy

* test: use xml-formatter to format snapshots

* test: add toMatchAnimation matcher

* test: add createGraph util

* test: adjust test demo and types

* test: update test case and snapshots

* chore: rename cases folder to unit
2024-04-02 19:13:53 +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