Commit Graph

5240 Commits

Author SHA1 Message Date
Aaron
9ce8891a96
chore: update version (#6279)
Co-authored-by: antv <antv@antfin.com>
2024-09-05 13:03:01 +08:00
Aaron
fb1626d15f
refactor(elements): adjust the computation logic of combo (#6275)
* feat(util): add hasPosition util

* refactor(elements): adjust the computation logic of combo

* test: add test case

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-05 11:17:16 +08:00
Aaron
5203d148aa
perf: fix report name to avoid error in ntfs system (#6276)
Co-authored-by: antv <antv@antfin.com>
2024-09-05 10:46:03 +08:00
Aaron
29941ecde1
refactor(graph): frontElement will bring relative edges forward (#6272)
* refactor(graph): frontElement will put relative edges forward

* test: add test case

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-05 10:23:26 +08:00
Orangii
cd756af678
fix: correctly hide tooltip when point out (#6270)
Signed-off-by: orangii <me@orangii.cn>
2024-09-04 11:46:11 +08:00
Aaron
1657420ec8
chore: update deps version and disable mako compress (#6262)
* chore: update deps version and disable mako compress

* chore: lock version of @umijs/mako

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-04 11:25:29 +08:00
Aaron
7bac328cf4
perf: add report before massive optimize (#6269)
Co-authored-by: antv <antv@antfin.com>
2024-09-04 11:25:18 +08:00
Aaron
b49ce81fc1
perf: performance optimize (#6267)
* feat(utils): add isElementDataEqual to optimize compare time cost

* docs: disable animation of 3d massive

* perf: optimize graph setOptions perf

* perf: skip unnecessary transforms

* refactor: adjust tree structure logic

* docs: optimize site demo to use canvas renderer

* perf: add massive element perf test case

* perf: add perf test report

* test: add test case to improve coverage

* fix: fix the issue that devicePixelRatio not effect

* perf: skip unnecessary style copy of unnecessary and computing style

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-03 17:35:08 +08:00
Yuxin
9c04450081
feat(behavior): scroll-canvas/drag-canvas support range (#6266)
* feat: scroll-canvas supports range

* feat: drag-canvas supports range

* test: add range tests

* fix: fix cr issue
2024-09-03 14:36:30 +08:00
Yuxin
b7bf98794a
feat: add radial dendrogram demo (#6263)
* feat: add radial dendrogram demo

* test: add unit tests

* docs: add site demos

* fix: fix ci issue
2024-09-02 16:03:21 +08:00
Aaron
f576afc6e0
chore: updater version (#6261)
Co-authored-by: antv <antv@antfin.com>
2024-09-02 10:07:22 +08:00
Aaron
b00ec104f8
feat: add demo about why do cats (#6259)
* test: add demo of why do cats

* docs: add site demo

* docs: add demo ref

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-02 10:02:43 +08:00
Aaron
6317115603
fix(behaviors): contextmenu and blur events will interrupt drag process (#6253)
* fix(behaviors): contextmenu and blur events will interrupt drag process

* refactor: fix cr issue

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-02 10:02:29 +08:00
Aaron
9b1eadc018
fix(runtime): fix issue that try to expand or collapse a node may cause exception (#6252)
Co-authored-by: antv <antv@antfin.com>
2024-08-29 20:00:24 +08:00
Aaron
f78ed1b346
chore: update layout version and add to site env (#6254)
* chore: update antvis layout version

* chore: add layout to site env

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-29 19:52:39 +08:00
Aaron
2c21154855
perf: optimize element dependencies effect trace performance (#6249)
* perf: add baseline performance report

* perf: optmize effect performance

* perf: generate performance report

* test: update test demo

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-29 19:45:33 +08:00
Aaron
8553175ce0
chore: update version (#6248)
Co-authored-by: antv <antv@antfin.com>
2024-08-29 10:20:45 +08:00
Aaron
aa87ec67c3
docs: add sub graph demo (#6242)
* fix(elements): correct html bounds shape position

* fix(elements): html node only forward event in canvas renderer

* refactor(utils): createPluginContainer support style param

* fix(plugins): set contextmenu container in a high zIndex

* refactor: adjust comment and export effect

* fix: fix expanded elements with wrong z-index

* docs: add sub graph demo

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-29 10:00:38 +08:00
Aaron
35d917cbf0
fix(plugins): fix tooltip with incorrect position after graph resize (#6246)
Co-authored-by: antv <antv@antfin.com>
2024-08-29 10:00:20 +08:00
Aaron
4fb0fd4bbd
fix: fix e2e test case of minimap (#6247)
* test(plugins): fix minimap plugin test case

* chore: update build.yml to ci.yml

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-29 10:00:01 +08:00
Aaron
c9ba7fcce6
refactor: html node support dx, dy (#6237)
* refactor(elements): html node support dx, dy

* docs: add html demo

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-27 15:01:58 +08:00
Yuxin
df139d4b6e
feat(plugin): add fisheye plugin (#6235)
* feat(plugin): add fisheye plugin

* test: add fisheye unit tests

* docs: add fisheye demo

* fix: remove useless values

* fix: remove undefined value
2024-08-27 11:27:51 +08:00
Yuxin
6fc9a92cda
refactor: adjust edge filter lens plugin options (#6236)
* refactor: adjust edge filter lens plugin options

* test: add unit test

* test: add unit test

* fix: remove useless value
2024-08-27 11:21:28 +08:00
Aaron
687e293b66
chore: add github action to auto translate issue title (#6234)
Co-authored-by: antv <antv@antfin.com>
2024-08-23 13:48:43 +08:00
Aaron
8dc9e587cc
chore: update version (#6231)
Co-authored-by: antv <antv@antfin.com>
2024-08-22 21:00:15 +08:00
Aaron
1c9729bacb
feat: support shape type extension (#6209)
* feat: support shape extension

* refactor: upsert support pass ctor type

* refactor: fix types of extension 3d

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-22 20:58:29 +08:00
Aaron
9f369238ee
perf: update iperf version and generate new report (#6229)
Co-authored-by: antv <antv@antfin.com>
2024-08-22 20:57:47 +08:00
Yuxin
835f7fe037
feat(plugin): add edge filter lens plugin (#6224)
* feat(plugin): add edge filter lens

* test: add unit tests

* refactor(plugins): fix cr issues

* test: update unit test

* docs: add demo

* fix: update demo and tests
2024-08-22 20:32:19 +08:00
Aaron
b0ce104eb1
refactor: getPluginInstance allow match by type secondary (#6215)
Co-authored-by: antv <antv@antfin.com>
2024-08-22 20:25:49 +08:00
Aaron
b0453225a8
fix: when update styles of node, it's react node does't update. (#6208)
* feat: shape upsert support hook callback

* fix: fix g node doesnot update when node props change

* test: update test case

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-22 19:15:31 +08:00
Aaron
7cb9d269e0
fix(behaviors): fix optimize viewport transform does not hide edge arrow (#6217)
Co-authored-by: antv <antv@antfin.com>
2024-08-22 19:14:54 +08:00
gitforhlp
e8f7a05702
fix spelling errors (#6223)
Co-authored-by: huanglp <huanglp@asiainfo.com>
2024-08-22 16:24:04 +08:00
Aaron
489f27b5c3
fix(plugins): fix error when destroy snapline plugin (#6212)
Co-authored-by: antv <antv@antfin.com>
2024-08-22 11:32:07 +08:00
Yuxin
cdc6d1a3c9
fix: fix the implementation of polyline in indented treecase (#6213) 2024-08-22 11:31:47 +08:00
Aaron
a9b88b4234
docs(site): add docs about how to set renderer (#6216)
Co-authored-by: antv <antv@antfin.com>
2024-08-22 11:31:32 +08:00
Aaron
fa73e45c85
refactor: export snapline and snapline options (#6205)
* refactor: export snapline and snapline options

* test: update test case

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-21 11:55:04 +08:00
Aaron
fa31e963ec
test: config perf test env, add perf test case and report (#6194)
* test: config perf test env, add perf test case

* test(perf): add perf test report

* chore: update lint stage for json and md

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-21 11:54:48 +08:00
Aaron
9b121c362e
chore: update version (#6203)
Co-authored-by: antv <antv@antfin.com>
2024-08-20 18:54:26 +08:00
Aaron
8c5314a77e
refactor: behaviors support preventDefault options (#6201)
* refactor(behaviors): scroll canvas support disable preventDefault

* refactor(behaviors): zoom canvas support disable preventDefault

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-20 17:24:36 +08:00
Aaron
a697f3a488
refactor: snapline and brush-select keep lineWidth after canvas zoom (#6198)
* refactor: sync camera operation to other layer cameras

* refactor(plugins): snapline keep lineWidth after zoom

* refactor(behaviors): brush-select keep lineWidth and exact match shortcut

* test: update test case

* test: update test case and snapshot

* fix: auto snap while zooming in

---------

Co-authored-by: antv <antv@antfin.com>
Co-authored-by: yvonneyx <zhuyuxin0627@gmail.com>
2024-08-20 17:24:15 +08:00
Yuxin
c9c1998fa1
feat: support direction for drag-canvas behavior (#6199)
* feat: support direction for drag-canvas behavior

* test: add unit test
2024-08-20 15:41:29 +08:00
Aaron
8155103242
fix: fix part of element lost when set visibility in animation (#6197)
Co-authored-by: antv <antv@antfin.com>
2024-08-20 15:40:03 +08:00
Yuxin
ab97b6a84c
feat: add snapline plugin (#6188)
* feat: add snapline plugin

* test: add snapline unit tests

* refactor(plugin): support auto snap and ignore items outside viewport

* fix: fix cr issues
2024-08-16 18:34:21 +08:00
Yuxin
fa6e3cd42f
feat: use a-star pathfinding algorithm to draw polyline (#6181)
* feat: use astar alogorithm to draw polyline

* test: add polyline unit tests

* test: supplement unit test

* test: update snapshots

* fix: fix types
2024-08-16 15:33:00 +08:00
Yuxin
867d480973
chore: update version (#6178) 2024-08-13 14:15:06 +08:00
Aaron
23368fe08f
fix: fix minimap (#6175)
* refactor: refactor canvas getBounds, add class name to elements container

* fix(plugins): fix minimap incorrect mask position and bounds computation

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-13 14:04:36 +08:00
Yuxin
2d4aabb8bc
feat: adjust contextmenu onclick params to get element (#6174) 2024-08-13 14:04:25 +08:00
fxzer
7078585891
docs: delete duplicate doc hyperlinks (#6169) 2024-08-12 15:31:44 +08:00
Aaron
556b3152c4
chore: update version (#6166)
Co-authored-by: antv <antv@antfin.com>
2024-08-09 18:40:33 +08:00
Aaron
e62fe66e30
chore: adapt g devtool (#6164)
Co-authored-by: antv <antv@antfin.com>
2024-08-09 17:25:47 +08:00