Commit Graph

99 Commits

Author SHA1 Message Date
pomelo-nwu
4a016a4fad Merge remote-tracking branch 'origin/v5' into v5-redo/undo 2023-08-24 10:54:57 +08:00
Yanyan Wang
4cbdce93fa
Revert "V5 donut" 2023-08-24 10:17:57 +08:00
yvonneyx
9242fd6203 feat: update rdo/undo pause and resume stacking 2023-08-23 19:52:19 +08:00
pomelo-nwu
5f833933e5 Merge branch 'v5' into v5-donut 2023-08-23 15:20:56 +08:00
ZqqceE
08092adfcc
feat: v5-hexagon (#4827)
* feat: v5 new node hexagon

* test: add test demo

* test: add hexagon unit test

* test: remove labelBackground attr

* chore: remove unnecessary imported packages

* feat: add position config to drawAnchorShape

* test: unit test hexagon in a new way

* chore: change the function name

* fix: fix typo

* fix: use the new 'drawAnchorShape' func

* Merge branch 'v5-hexagon' of https://github.com/zqqcee/G6 into v5-hexagon

* test: unit test

* chore: change func name
2023-08-23 13:40:54 +08:00
yvonneyx
f2359c08a5 test: update donut&active relation integration test 2023-08-23 13:38:35 +08:00
yvonneyx
01640211f0 Merge remote-tracking branch 'origin/v5' into v5-donut 2023-08-23 12:59:29 +08:00
pomelo
3a1c07ec21
Merge pull request #4825 from antvis/plugins/toolbar
Plugins/toolbar
2023-08-23 09:19:56 +08:00
pomelo-nwu
e283c07c9b feat: update code 2023-08-23 09:19:16 +08:00
pomelo-nwu
59bc4cce29 feat: fix ci 2023-08-22 19:06:47 +08:00
ZqqceE
c53fb92e5d
v5 new drawAnchorShape (#4840)
* fix: reduce the number of computation times

* feat: add anchor position for rect node

* feat: add anchor position for circle node

* test: unit test triangle node

* feat: add anchor position for ellipse node

* feat: new drawAnchorShape that support string configuration

* fix: add calculateAnchorPosition and move it into base.ts

* chore: npm run fix

* chore: move convertToNumber to utils dir

* test: unit test
2023-08-22 17:33:25 +08:00
pomelo-nwu
d55ca18b01 fix: typing error 2023-08-22 17:09:52 +08:00
pomelo-nwu
95d13c6cff feat: update prettier error 2023-08-22 17:07:14 +08:00
pomelo-nwu
3380500305 style: code 2023-08-22 16:33:31 +08:00
pomelo-nwu
44ff2962cc Merge branch 'v5' into fix/typo 2023-08-22 16:23:29 +08:00
pomelo-nwu
b7364c7b8e feat: update site layout 2023-08-22 15:48:49 +08:00
Yanyan Wang
156dc71048
chore: use map instead of object to cache the items (#4831)
* chore: use map instead of object to cache the items

* chore: refine test
2023-08-22 15:05:32 +08:00
Yanyan Wang
a9cc508d51
chore: remove id for svg test (#4839)
* chore: remove id for svg test

* chore: lint

* fix: setTimeout return type

* chore: skip d3force test

* chore: lint

* chore: test refine

* chore: test refine
2023-08-22 14:15:18 +08:00
yvonneyx
847d72e407 fix: donut delete unnecessary params 2023-08-22 14:03:21 +08:00
ZqqceE
7d9f084422
v5-triangle (#4834)
* feat: override drawIconShape

* feat: v5 triangle node

* test: add triangle test demo

* test: add triangle unit test

* test: unit testing of triangle in a new way

* feat: modify drawAnchorShape that can be configured in string type

* test: unit test

* fix: equilateral triangle

* fix: fix eslint
2023-08-22 12:38:21 +08:00
ZqqceE
61473706c8
feat: v5 ellipse node (#4828)
* feat: v5 ellipse node

* test: add ellipse test demo

* test: add ellipse unit test

* test: unit test in a new way

* chore: undo package.json
2023-08-21 23:30:35 +08:00
yvonneyx
16bb528893 test: v5 donut integration test 2023-08-21 15:07:01 +08:00
yvonneyx
27d204ef00 feat: v5-donut 2023-08-21 14:28:29 +08:00
pomelo-nwu
a7874a777f chore: add toolbar test 2023-08-21 13:44:29 +08:00
pomelo-nwu
fdb1602f62 chore: remove svg tests 2023-08-21 13:35:47 +08:00
pomelo-nwu
6dfbfee9ec style: add typing for toolbar 2023-08-21 13:28:17 +08:00
pomelo-nwu
2851b92fa8 style: remove @antv/g6 2023-08-21 13:27:49 +08:00
pomelo-nwu
9797576960 Merge remote-tracking branch 'origin/v5' into fix/typo 2023-08-21 10:41:53 +08:00
yvonneyx
99bee31f16 test: add history integration test 2023-08-17 14:11:32 +08:00
yvonneyx
5121d1bbc2 feat: history support drag-node; add comments 2023-08-17 11:12:39 +08:00
Yanyan-Wang
c0cc9be9ed chore: update tests 2023-08-16 19:11:24 +08:00
Yanyan-Wang
f09cccbf05 test: add tests for tree graph 2023-08-16 18:18:22 +08:00
yvonneyx
9387b3bf5a feat: history support collapse/expand/move combo 2023-08-16 14:46:50 +08:00
Yanyan-Wang
14f7451bae chore: refine 2023-08-16 10:53:12 +08:00
Yanyan-Wang
1f9c883a65 feat: fx and fy in node data to fix node 2023-08-16 10:37:42 +08:00
Yanyan-Wang
863c48e513 fix: collapse-expand-tree behavior is triggered on animated hiding nodes unexpectedly 2023-08-16 10:37:05 +08:00
Yanyan-Wang
71b275639b chore: refine 2023-08-16 10:37:05 +08:00
Yanyan-Wang
18449ae881 chore: refine 2023-08-16 10:37:05 +08:00
Yanyan-Wang
5ebc32f86c feat: tree formatted data rendering; feat: collapse-expand-tree behavior; 2023-08-16 10:37:03 +08:00
yvonneyx
512e969363 feat: history support layerChange, addItem and batch process 2023-08-15 19:12:14 +08:00
pomelo-nwu
ea9803fa89 feat: replace IPoint 2023-08-15 10:52:18 +08:00
pomelo-nwu
0a4fb45de3 feat: update prettier config 2023-08-15 10:49:35 +08:00
pomelo-nwu
eac70cdc02 feat: add toolbar plugin demo 2023-08-15 10:49:18 +08:00
pomelo-nwu
4fedec8609 feat: add toolbar plugin 2023-08-15 10:46:35 +08:00
pomelo-nwu
8c7f66d705 feat: update global.ts 2023-08-15 10:42:22 +08:00
yvonneyx
3dd8625766 feat: support history (visibility, state, position) 2023-08-14 19:37:34 +08:00
Yanyan Wang
11a9a3016a
fix: halo styles for rect node (#4810)
* fix: halo styles for rect node

* fix: number node id problem

* chore: refine types
2023-08-11 14:41:04 +08:00
pomelo-nwu
1b3b2a0d90 feat: update prettier config 2023-08-11 13:38:34 +08:00
pomelo-nwu
31a3d52ee2 feat: update version 2023-08-11 13:18:04 +08:00
pomelo-nwu
2d6fdbeaba feat: update 2023-08-11 11:03:12 +08:00