Commit Graph

277 Commits

Author SHA1 Message Date
Yanyan-Wang
f64269350a test: add test data 2023-08-31 13:19:03 +08:00
feikerwu
a28af5ae62 chore: resolve conflict 2023-08-31 11:21:02 +08:00
Yanyan-Wang
068ad11d22 chore: refine demos 2023-08-31 11:14:16 +08:00
xiaoiver
dbb893da28
feat: legend (#4889) 2023-08-31 11:12:13 +08:00
feikerwu
6c9696f62b feat: draggable implementation for create-edge 2023-08-31 11:06:34 +08:00
pomelo
4b803837a5
Merge pull request #4803 from antvis/v5-hull
feat: hull plugin
2023-08-30 20:19:57 -05:00
pomelo
d86b983b0c
Merge pull request #4884 from zqqcee/v5-docs-items-validate
v5 docs: item docs
2023-08-30 20:14:35 -05:00
Yanyan-Wang
06449c5264 fix: type problems 2023-08-31 09:13:21 +08:00
Yanyan-Wang
9e28790cda chore: refine 2023-08-31 09:13:21 +08:00
Yanyan-Wang
0242eb84a6 test: tests for hull 2023-08-31 09:13:21 +08:00
Yanyan-Wang
fd5f006e33 chore: types 2023-08-31 09:13:21 +08:00
Yanyan-Wang
d63e0cb6c7 feat: label for hull 2023-08-31 09:13:21 +08:00
Yanyan-Wang
bb822550c5 feat: hull plugin 2023-08-31 09:13:21 +08:00
pomelo
7668e0c9bf
Merge pull request #4887 from antvis/v5-tutorial
feat: add update and feature docs;
2023-08-30 20:11:24 -05:00
Yanyan-Wang
25295b2872 fix: remove emoji from dumirc to avoid page rendering error for site 2023-08-31 02:12:06 +08:00
pomelo
339f28c564
feat: fix plugin demo with extensions (#4885)
* feat: fix plugin demo with extensions

* Chore:check translate (#4886)

* feat: check plugins

* chore: update docs
2023-08-31 01:43:08 +08:00
Yanyan-Wang
0d7afdb210 chore: refine 2023-08-31 01:20:58 +08:00
Yanyan-Wang
e2fdada89f docs: update and feature docs for site; docs: add some interaction demos to site 2023-08-31 01:20:57 +08:00
Yanyan-Wang
ea290872d7 docs: update and feature docs for site; docs: add some interaction demos to site 2023-08-31 01:18:58 +08:00
pomelo
b9274e9ab2
feat: fix typing error (#4883) 2023-08-30 22:59:16 +08:00
zqqcee
ad1f60056f docs: item docs 2023-08-30 22:52:59 +08:00
ZqqceE
9b6eb1ed28
fix: fix tooltip and menu position (#4882) 2023-08-30 20:12:29 +08:00
pomelo
1099252812
Feat: Add API Docs (#4877)
* feat: update api-doc config

* feat: add doc input

* feat: update docs
2023-08-30 19:46:37 +08:00
xiaoiver
8201044261
fix: 3d example (#4880)
* fix: 3d example

* chore: lint
2023-08-30 19:46:00 +08:00
ZqqceE
d12bdde0eb
v5 extend type new (#4879)
* fix: fix quadratic controlPoints

* chore: extend graph in test demo

* fix: fix lint

* feat: fulfill type check for extend func

* feat: fulfill type check for extend func
2023-08-30 19:14:51 +08:00
ZqqceE
ce1ae5f684
v5 export demo (#4876)
* fix: fix quadratic controlPoints

* chore: extend graph in test demo

* fix: fix lint
2023-08-30 19:05:17 +08:00
Yanyan-Wang
504e969bb4 docs: add feature demos to site 2023-08-30 14:33:36 +08:00
Yanyan-Wang
0fa5a8a1b4 feat: add 3d demo to site 2023-08-30 14:32:45 +08:00
Yanyan-Wang
2e6b64d707 chore: export necessary things 2023-08-30 14:32:44 +08:00
Fadingvision
e6387b8240 test: add shortcuts-call behavior integration test 2023-08-30 11:27:30 +08:00
pomelo
1eda86a093
V5 locale (#4870)
* feat: fix locale

* feat: update api doc
2023-08-29 18:39:28 +08:00
pomelo
c9548251ff
Chore: Add Typedoc (#4866)
* feat: add typedoc config

* feat: update api docs

* feat: export plugin interfaces

* feat: update lock.yaml

* chore: remove dump code

* chore: update doc

* feat: add translate scripts
2023-08-29 15:38:07 +08:00
pomelo
2f581bb651
Merge pull request #4861 from antvis/v5-layout-demos-2
V5 layout demos 2
2023-08-29 02:32:43 -05:00
yvonneyx
2bb251f80f
feat: v5 selfloop (#4857)
* feat: v5 selfloop

* fix: update loop

---------

Co-authored-by: yvonneyx <banxuan.zyx@antgroup.com>
Co-authored-by: Yanyan Wang <yanyanwang93@gmail.com>
2023-08-29 15:24:58 +08:00
Yanyan Wang
49829444a6 docs: animate demos for tree and combo (#4868) 2023-08-29 15:20:16 +08:00
Yanyan-Wang
7894ffd09d docs: animation demos for v5 site 2023-08-29 15:19:51 +08:00
Yanyan-Wang
398f99770f chore: refine 2023-08-29 15:19:51 +08:00
Yanyan-Wang
9dc1af0ddc docs: tree layout demos 2023-08-29 15:19:51 +08:00
Yanyan-Wang
9a9872ba79 docs: add graph layout demos; fix: force layout problem 2023-08-29 15:19:50 +08:00
ZqqceE
db369d1b09
feat: v5 model rect (#4858)
* feat: v5 modelRect node

* test: modelRect test demo

* test: unit test of modelRect node

* feat: label word maxWidth

* fix: fix text maxWidth

* fix: fix lint

* fix: default value of this.logo

* fix: fix lint
2023-08-29 01:38:09 +08:00
pomelo
14e70346a4
Merge pull request #4849 from antvis/demo-plugins
Add Plugins Demos
2023-08-27 23:38:35 -05:00
pomelo-nwu
0b835e1b00 feat: update demo 2023-08-28 11:35:11 +08:00
Fadingvision
bd9803a342 Merge branches 'feature/shortcuts-call' and 'feature/shortcuts-call' of github.com:Fadingvision/G6 into feature/shortcuts-call 2023-08-28 09:41:46 +08:00
Fadingvision
5964feb8a0 fix: merge v5 2023-08-28 09:39:43 +08:00
Yorke
611df9270c
Merge branch 'v5' into feature/shortcuts-call 2023-08-28 09:33:38 +08:00
pomelo-nwu
78fc03c304 feat: update menu and tooltip demo 2023-08-25 15:23:12 +08:00
pomelo-nwu
b744acd560 feat: update demo 2023-08-25 13:52:08 +08:00
Yanyan Wang
d8ff8c938f
fix: polyline anchor point and arrow; (#4852)
* docs: graph layout demos

* chore: refine

* chore: refine
2023-08-25 13:05:55 +08:00
pomelo-nwu
0ba9861006 chore: update tsconfig 2023-08-25 10:37:47 +08:00
Yanyan Wang
6187e9d63d
fix: data validate with data update (#4851)
* fix: data validate with data update

* chore: refine
2023-08-25 10:36:49 +08:00
pomelo-nwu
f4fd5ace59 feat: update minimap demo 2023-08-25 10:35:20 +08:00
ZqqceE
640eb6ecc9
feat: v5 star node (#4817)
* feat: v5 star node type

* test: add unit test

* chore: delete old version star

* fix: star node keyShape

* test: passed star node unit test

* chore: remove unnecessary imported packages

* fix: override drawAnchorShape

* fix: override drawAnchorShape

* test: unit test in a new way

* chore: undo package.json

* chore: make the function name more meaningful

* fix: draw anchor shape

* test: unit test

* fix: lint

---------

Co-authored-by: Yanyan Wang <yanyanwang93@gmail.com>
2023-08-25 10:32:21 +08:00
Yanyan Wang
c4e87ad97c
feat: anchor points and shapes for node (#4829)
* feat: anchor points and shapes for node

* feat: arrows for edge

* chore: lint

* chore: update lock file up to date
2023-08-25 10:25:57 +08:00
pomelo-nwu
1b530f748e feat: add util.mock function 2023-08-25 10:01:17 +08:00
Yanyan-Wang
f15fb78bc8 feat: precheck for data validation and formatting 2023-08-24 23:11:45 +08:00
ZqqceE
56059acfb9
v5 diamond node (#4847)
* feat: v5 node diamond

* test: unit test and display demo

* fix: fix lint
2023-08-24 19:44:22 +08:00
yvonneyx
5fa7bee265 fix: merge 2023-08-24 17:56:29 +08:00
yvonneyx
253be0d729 Merge remote-tracking branch 'origin/v5' into feat/edge-polyline 2023-08-24 16:45:26 +08:00
pomelo-nwu
ad14cba261 feat: remove grid.png 2023-08-24 15:36:09 +08:00
yvonneyx
4442af405b Merge remote-tracking branch 'origin/v5' into v5-redo/undo 2023-08-24 15:07:02 +08:00
yvonneyx
1251a74aa8 fix: prevent history unloaded block execution 2023-08-24 15:01:13 +08:00
pomelo-nwu
e72a74d32a chore: update ci 2023-08-24 14:51:08 +08:00
pomelo-nwu
079ef8480b feat: fix ci 2023-08-24 14:11:59 +08:00
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
c6923569f6 chore: merge remote-tracking branch 'origin/v5' into v5-redo/undo 2023-08-24 13:30:15 +08:00
yvonneyx
26915d6cd9 fix: v5 history 2023-08-24 13:26:26 +08:00
yvonneyx
c09593aa2c
feat: v5 donut (#4846)
Co-authored-by: yvonneyx <banxuan.zyx@antgroup.com>
2023-08-24 12:37:13 +08:00
yvonneyx
6606a018c1 test: update polyline integration test 2023-08-24 11:01:58 +08:00
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
0bf1fc1558 test: update polyline integration test 2023-08-24 09:54:30 +08:00
yvonneyx
e227c0175c Merge remote-tracking branch 'origin/v5' into feat/edge-polyline 2023-08-23 20:29:52 +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
yvonneyx
a81e5d0a5f fix: update v5 polyline test 2023-08-23 14:17:04 +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
yvonneyx
6affd2d610 Merge remote-tracking branch 'origin/v5' into feat/edge-polyline 2023-08-23 12:55:53 +08:00
yvonneyx
38d7adc1f8 feat: update v5-polyline 2023-08-23 10:53:33 +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
feikerwu
07243b44ee feat(create-edge): draft of create-edge 2023-08-21 18:41:43 +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
Fadingvision
328e78e48a feat: move shortcuts-call to v5 2023-08-17 17:30:24 +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
banxuan.zyx
98066637b6 test: add v5 polyline tests 2023-08-13 12:42:26 +08:00
banxuan.zyx
e1203cd56d Merge remote-tracking branch 'origin/v5' into feat/edge-polyline 2023-08-13 12:41: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
banxuan.zyx
22c3f9abb4 feat: polyline 2023-08-09 17:55:00 +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
Yanyan Wang
aa9c6a8e37
fix: fisheye restore problem and code style (#4743)
* fix: fisheye restore problem and code style

* fix: fisheye label from node data

* chore: lint
2023-07-17 16:46:53 +08:00
Lionztt
d6bbaa985a
feat: add v5-fisheye (#4696)
* feat: add v5-fisheye main code

* feat: merge

* feat: fix text postion

* feat: change label text and its align

* feat: add drag trigger and add scale r/d by drag

* feat: add wheel events

* feat: fix wheel event when reduce range

* feat: fix fisheye clear event

* feat: fix logs

* feat: package-lock

* feat: delete g6 package-lock

* feat: fix logs

* feat: fix remove shape method and trans Chinese note to English
2023-07-14 15:43:37 +08:00
MaLaiXiGua
8716c60c3c
feat: v5-plugin-tooltip (#4684)
* feat: v5-plugin-tooltip

* test: add tooltip test demo

* test: add unit test

* fix: clear the old tooltip before showing a new one

* feat: add loading content

* fix:promise throttle

* fix: delay hiding tooltip

* feat: add placement configuration, like "right", "left", "top", "topRight", etc.

* fix: remove ts-nocheck
2023-07-05 14:05:54 +08:00
MaLaiXiGua
9cf80a4a02
feat: v5-plugin-contextmenu (#4682)
* feat: contextmenu v4 to v5

* fix: move the coordinate calculation before the asynchronous function, to avoid the menu located in wrong position

* test: add unit test

* fix: fix the position error

* fix: decrease server pressure caused by fetching many times

* feat: add loading content

* feat: add liHoverStyle config

* chore: remove todo tag

* fix: modify css before resolve getContent

* fix:promise throttle.
2023-07-04 20:19:51 +08:00
markliao
8a520b2cb6
V5 feat/cubic edge,cubic horizon edge,cubic vertical edge (#4669)
* chore: update dependencies

* update jest.config.js for using `@kayahr/jest-electron-runner`
* update rollup.config.js for using `@rollup/plugin-terser`

* chore: add line-edge integration test

* chore: done feat/cubic-edge

chore: add integration test

chore: add unit test(but there have several tests TODO )

* feat: v5-cubic-horizon-edge

*feat: v5-cubic-horizon-edge

*chore: test/unit/v5-cubic-horizon-edge

*chore: test/integration/v5-cubic-horizon-edge

* feat: v5-cubic-horizon-edge

*feat: v5-cubic-horizon-edge

*chore: test/unit/v5-cubic-horizon-edge

*chore: test/integration/v5-cubic-horizon-edge

fix: curve bug

* chore: lint fix & use English comments

* chore: change test svg link & fix cubic offset

*chore: change test svg link

*fix: fix the cubic offset

* chore: fix rebase issue

* Feat: add  'topRight'  position configuration in BadgesShapes (#4624)

* fix: support position config:'topRight'

* add demo to reproduce bug

* chore: fix rebase conflict

* V5 fix label shape error (#4645)

* update: update demo for bug reproduce

* fix: fix the bug

* v5-rect#1 (#4640)

* feat: add RectNode

* add: add rect test demo

* add: add rect test demo

* update: update RectNode with less override

* update: remove 'console.log'

* update: remove comment

* update: remove cn comment

* add: add rect-spec.ts for unit test

---------

Co-authored-by: Yanyan Wang <yanyanwang93@gmail.com>

* fix: implement onZoom as empty function for 3d node (#4647)

* fix: implement onZoom as empty function for 3d node

* chore: refine

* chore: lint

* add: make the error message more readable (#4666)

* feat: add contextmenu event for graph canvas, node, and edge (#4675)

* feat: v5-quadratic (#4656)

* add: add a test demo

* feat: add quadratic

* add: add unit test demo

* fix: add seItemState(selected、active、highlight、inactive、disable) test into spec.

* chore: fix rebase conflicts

* chore: done feat/cubic-edge

chore: add integration test

chore: add unit test(but there have several tests TODO )

* feat: v5-cubic-horizon-edge

*feat: v5-cubic-horizon-edge

*chore: test/unit/v5-cubic-horizon-edge

*chore: test/integration/v5-cubic-horizon-edge

* feat: v5-cubic-horizon-edge

*feat: v5-cubic-horizon-edge

*chore: test/unit/v5-cubic-horizon-edge

*chore: test/integration/v5-cubic-horizon-edge

fix: curve bug

* chore: lint fix & use English comments

* chore: trim up code format

*chore: use relative import path

*chore: delete unused imports

*fix: fix the rebase imports

* chore: fix base.ts

* chore: fix rebase conflicts

* chore: elint fix format

---------

Co-authored-by: MaLaiXiGua <55946653+zqqcee@users.noreply.github.com>
Co-authored-by: MaLaiXiGua <941107676@qq.com>
Co-authored-by: Yanyan Wang <yanyanwang93@gmail.com>
Co-authored-by: MaLaiXiGua <zqqcee@163.com>
2023-06-26 16:54:52 +08:00
MaLaiXiGua
7405f26c76
feat: v5-quadratic (#4656)
* add: add a test demo

* feat: add quadratic

* add: add unit test demo

* fix: add seItemState(selected、active、highlight、inactive、disable) test into spec.
2023-06-25 14:40:46 +08:00
Yanyan Wang
1a029724cf
feat: add contextmenu event for graph canvas, node, and edge (#4675) 2023-06-25 14:33:47 +08:00
MaLaiXiGua
17c293bb32
add: make the error message more readable (#4666) 2023-06-25 11:07:31 +08:00
Yanyan Wang
7d6959ed1b
fix: implement onZoom as empty function for 3d node (#4647)
* fix: implement onZoom as empty function for 3d node

* chore: refine

* chore: lint
2023-06-15 15:23:13 +08:00
MaLaiXiGua
1cb99d0bbf
v5-rect#1 (#4640)
* feat: add RectNode

* add: add rect test demo

* add: add rect test demo

* update: update RectNode with less override

* update: remove 'console.log'

* update: remove comment

* update: remove cn comment

* add: add rect-spec.ts for unit test

---------

Co-authored-by: Yanyan Wang <yanyanwang93@gmail.com>
2023-06-15 11:18:05 +08:00
MaLaiXiGua
eea0536007
V5 fix label shape error (#4645)
* update: update demo for bug reproduce

* fix: fix the bug
2023-06-15 11:08:21 +08:00
Yanyan Wang
f2b9c6be18
chore: upgrade styles for node (#4639)
* chore: upgrade styles for node

* fix: labelBackgroundShape size problem while state changing
2023-06-14 09:30:53 +08:00
MaLaiXiGua
c5a4696088
Feat: add 'topRight' position configuration in BadgesShapes (#4624)
* fix: support position config:'topRight'

* add demo to reproduce bug
2023-06-12 14:44:02 +08:00
zqqcee
65c599edd2
fix: "Node not found" error from 'getNode()' (#4608)
* delete: delete workflow

* add: add demo to reproduce this bug

* fix: fix "node not found" error by adding try-catch block

* undo delete
2023-06-08 18:56:57 +08:00
Yanyan Wang
dcb82900db
fix: drag-node error (#4573) 2023-06-07 19:18:56 +08:00
xiaoiver
3f674d4528
fix: enhance performance with batch key (#4572) 2023-06-05 18:59:41 +08:00
Yanyan Wang
1cd6c9d2c3
feat: a demo for v5 and fix several bugs, details are in commits (#4553)
* feat: demo

* chore: refine demo

* chore: refine demo

* perf: demo with themes

* perf: demo with webgl renderer

* feat: add 3d layout demo

* fix: state style affect size of node incorrectly

* feat: support text in 3D scene

* fix: conflict between behaviors; fix: animate problems; fix: zoomStrategy for individual nodes

* chore: rename zoomStrategy to lodStrategy

* chore: refine demo

* chore: demo refine

* chore: type templates problems

* chore: lint

* chore: refine

* feat: constrain the range of zoom-canvas-3d

* chore: refine

* chore: remove unecessary notes

---------

Co-authored-by: yuqi.pyq <yuqi.pyq@antgroup.com>
2023-05-31 18:25:02 +08:00