Commit Graph

5229 Commits

Author SHA1 Message Date
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
Aaron
77558e76a5
feat: support specific and set cursor (#6160)
Co-authored-by: antv <antv@antfin.com>
2024-08-09 16:02:14 +08:00
Aaron
e7b38ebe3b
fix: fix setVisibility util (#6158)
* refactor: omit visibility from element to sub shape

* fix(utils): refactor setVisibility

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-09 16:02:04 +08:00
Aaron
aae7a1638d
fix(behaviors): fix click-select lost preset states (#6161)
Co-authored-by: antv <antv@antfin.com>
2024-08-09 16:01:44 +08:00
Aaron
0f03fe4c23
fix(behaviors): fix drag-canvas event listener type (#6153)
Co-authored-by: antv <antv@antfin.com>
2024-08-08 15:00:37 +08:00
Yuxin
3aa9bbbfa2
fix: fix issue for null values in the alignFields util (#6152) 2024-08-08 11:19:32 +08:00
Aaron
117d4513bf
chore: update version (#6148)
Co-authored-by: antv <antv@antfin.com>
2024-08-07 15:54:21 +08:00
Aaron
a1a8d01087
fix(plugins): wont show tooltip when target element is to be destroyed (#6147)
Co-authored-by: antv <antv@antfin.com>
2024-08-07 15:34:05 +08:00
Yuxin
858a713dd4
feat: add decision tree demo (#6139)
* feat: add decision tree demo

* fix: fix ci issue

* refactor: bring element to front before collapse

* fix: fix cr issues

* fix: use getNodeLikeDatum
2024-08-07 15:31:36 +08:00
Aaron
f5311dd43b
fix(behaviors): fix drag canvas unbind event (#6146)
Co-authored-by: antv <antv@antfin.com>
2024-08-07 14:20:08 +08:00
Aaron
c943ab5d9e
refactor: improve site docs (#6133)
* docs: add faq

* refactor: adjust site version ref

* docs: improve faq

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-07 10:55:36 +08:00
Aaron
bf41d079f4
fix: destroy shape after change icon type (#6142)
Co-authored-by: antv <antv@antfin.com>
2024-08-07 10:25:47 +08:00