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
Aaron
6de9cceb4f
refactor(layout): optimize tree enter layout ( #6141 )
...
Co-authored-by: antv <antv@antfin.com>
2024-08-07 10:24:45 +08:00
Yuxin
c98d3508c5
feat: add mindmap demo ( #6132 )
...
* feat: add mindmap demo
* refactor: set ports to mindmap
* refactor: type
2024-08-07 00:08:44 +08:00
Aaron
7ce727aacd
chore: update version ( #6129 )
...
* chore: update deps version
* chore: update version
---------
Co-authored-by: antv <antv@antfin.com>
2024-08-06 10:53:39 +08:00
Aaron
871b7b531f
feat: implement image shape support radius ( #6127 )
...
* chore: reserve id when referenced
* feat(utils): add getAncestorShapes util
* feat(elements): add image shape support radius, adpat elements
---------
Co-authored-by: antv <antv@antfin.com>
2024-08-06 09:56:42 +08:00
Aaron
e75c7bd608
fix(behaviors): fix drag element, drag canvas conflict ( #6125 )
...
Co-authored-by: antv <antv@antfin.com>
2024-08-05 16:23:17 +08:00
MusicTen
7ca88d0dc4
fix(minimap): fix collapsed combo childrenNode getShape not found ( #6120 )
...
Co-authored-by: 王璨 <can.wang@eoitek.com>
2024-08-05 10:04:22 +08:00
Aaron
f6d10cf2ee
chore: update version ( #6118 )
...
Co-authored-by: yvonneyx <zhuyuxin0627@gmail.com>
2024-08-02 17:04:20 +08:00
Aaron
d76be08320
refactor: adjust folder strucure ( #6115 )
...
* test: adjust test structure
* test(demo): replace alias path to @antv/g6
* refactor(registry): adjust registry structure to avoid circular reference
* chore: adjust bugs dir, and snapshot path rule
---------
Co-authored-by: antv <antv@antfin.com>
2024-08-02 16:46:47 +08:00
Aaron
6b2ec3d41c
docs: add coordinate docs ( #6117 )
...
Co-authored-by: antv <antv@antfin.com>
2024-08-02 16:08:01 +08:00
Aaron
5016fe2bcc
feat(plugins): add minimap plugin ( #6103 )
...
* feat(event): before draw, after draw will info whether to be render
* feat(plugins): add minimap plugin
* refactor(plugins): add container style
* refactor(plugins): remove DOMRect, add renderer option
* test: adjust minimap demo
* chore(test): config playwright test env
* test(plugins): add test case for minimap
* chore: update test config
* refactor: remove useless comment
---------
Co-authored-by: antv <antv@antfin.com>
2024-08-02 10:07:28 +08:00
Aaron
17944c508d
refactor: drag canvas can be triggered on elements ( #6108 )
...
* refactor(behaviors): drag canvas can trigger on elements
* test: add test snapshots
2024-08-02 10:07:13 +08:00
Aaron
bcc5118af4
fix: fix unexpected canvas access after switch renderer ( #6110 )
...
* test: remove useless demo
* fix: fix unexpected canvas access after switch renderer
2024-08-02 10:06:51 +08:00
Aaron
51d4d7f5fd
fix(elements): fix incorrect ports position when rotate node ( #6113 )
...
Co-authored-by: antv <antv@antfin.com>
2024-08-02 10:06:28 +08:00
Aaron
0dd0c59d89
fix(runtime): fix camera position lost after canvas resize ( #6114 )
...
Co-authored-by: antv <antv@antfin.com>
2024-08-02 10:05:55 +08:00
Aaron
36411e5882
chore: update issue template ( #6101 )
...
* chore: update oscp template description
* chore: update bug report template description
2024-07-31 17:20:19 +08:00
MusicTen
c3058dc532
fix: the initial values of some nodes are not set by default ( #6075 )
...
Co-authored-by: 王璨 <can.wang@eoitek.com>
2024-07-22 19:10:41 +08:00