Commit Graph

94 Commits

Author SHA1 Message Date
Yanyan Wang
c01a1e1aae
feat: rect type combo and its behaviors (#4844)
* feat: rect combo

* feat: behaviors for rect combo

* chore: lint

* chore: update lock file up to date

* chore: refine lock file

* chore: update workflows

* feat: comboCombined layout

* chore: update layout

* chore: update lock

* chore: refine
2023-08-24 14:08:15 +08:00
yvonneyx
c09593aa2c
feat: v5 donut (#4846)
Co-authored-by: yvonneyx <banxuan.zyx@antgroup.com>
2023-08-24 12:37:13 +08:00
Yanyan Wang
4cbdce93fa
Revert "V5 donut" 2023-08-24 10:17:57 +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
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
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
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
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
pomelo-nwu
b10dded130 feat: update site-rfc 2023-08-11 10:56:03 +08:00
pomelo-nwu
bafbd3dfd7 feat: import pnpm and remove 4.x G6 deps 2023-08-10 18:15:46 +08:00
xiaoiver
73bd1fed41
feat: use serverside rendering for integration tests (#4793)
* feat: use serverside rendering for integration tests

* chore: extend svg & webgl matchers for jest

* chore: interactive events can be triggerred in test case now

* chore: increase timeout

* chore: skip WebGL snapshot for now

* chore: support animation snapshot in test case

* chore: DOM API can be used in test case

* fix: make graph.getItemById private
2023-08-10 10:22:51 +08:00
veeui
a06766b440
v5-plugin-grid (#4681)
* feat: 新增grid插件

* test: 新增grid插件单测

* fix: 修改cr要求

* style: 新增grid图片
2023-08-02 10:00:05 +08:00
Yanyan Wang
62ecbca00c
feat: combo rendering and behaviors (#4739)
* feat: combo rendering and interactions

* chore: refine

* chore: refine

* feat: frontItem backItem api for graph; feat: animations for combo

* chore: refine

* chore: remove unnecessary calls

* chore: remove buildIn animates exclusions

* chore: typo

* chore: type problems

* chore: import path

* chore: refine

* fix: zindex adjustment without combo tree structure

* chore: lint
2023-08-01 11:31:48 +08:00