Commit Graph

5178 Commits

Author SHA1 Message Date
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
Yuxin
3ac8a02e8f
fix: resolve animation conflict between hover-activate and collapse-expand behaviors (#6070) 2024-07-22 18:57:30 +08:00
Yuxin
56e54adf96
feat: autosize element label (#6068) 2024-07-19 19:09:31 +08:00
Aaron
d45429ab3f
chore: config project (#6065) 2024-07-19 19:09:17 +08:00
Aaron
5f0a11beba
chore: update version (#6064)
Co-authored-by: antv <antv@antfin.com>
2024-07-19 12:42:47 +08:00
Aaron
ed6e940876
refactor: support dynamic switch renderer (#6062)
* feat(runtime): graph emit renderer change event

* refactor: refactor canvas and support switch renderer

* fix(3d): remove light on destroy plugin

* refactor(3d): clear cache when renderer change

* test: add switch renderer demo

---------

Co-authored-by: antv <antv@antfin.com>
2024-07-19 12:22:46 +08:00
Yuxin
6775bbc70c
feat(behavior): fix element size (#6059)
* feat(behavior): fix element size

* fix: fix cr issues
2024-07-19 11:14:00 +08:00
xuwb
f72d4c24a6
fix: label background word wrap width (#6055)
* fix: label background 折行宽度修改

* feat: 更新label-oversized 测试demo和截图

---------

Co-authored-by: xwb163631 <xwb163631@gongdao.com>
2024-07-18 11:40:53 +08:00
Yuxin
3f775f9ef8
feat(behavior): hide elements when zooming, scrolling and dragging canvas (#6054)
* feat(behavior): hide elements when zooming,scrolling and dragging canvas

* fix: fix cr issues

* test: supplement viewport transfron test

* refactor: rename ViewportEvent to IViewportEvent
2024-07-17 16:23:53 +08:00
Yuxin
fd2d79094e
fix: fix issue that use dagre and polyline togethor (#6046) 2024-07-16 17:54:56 +08:00
Yuxin
7656fe6287
feat: create-edge behavior supports history tracking (#6043)
* feat: create-edge behavior supports history tracking

* test: update snapshots
2024-07-16 17:54:34 +08:00
Aaron
2a7c953c62
chore: adjust release pr workflow (#6044)
* chore: adjust workflow and add publish doc

---------

Co-authored-by: antv <antv@antfin.com>
2024-07-16 17:41:04 +08:00
Aaron
21463f2627
chore: update dumi version and config (#6045)
* chore: update dumi version

* chore: config mako module id strategy
2024-07-16 16:27:28 +08:00
Yuxin
d7d13aa6e2
fix: fix issue that history beforeAddCommand returns false (#6042)
* fix: fix issue that history beforeAddCommand returns false

* test: supplement history test
2024-07-16 16:26:13 +08:00
Aaron
36b9c6b4c3
chore: update husky and add release workflow (#6041)
* chore: update husky

* chore: update github workflows

* chore: update scripts

* chore: fix workflow
2024-07-16 15:35:47 +08:00
Yuxin
a82369e731
fix: fix polyline misalignment in orth router between nodes (#6040) 2024-07-16 14:25:03 +08:00
Yuxin
66a98a0f66
docs: add level of detail demo (#6038)
* docs: add level of detail demo
2024-07-16 10:12:38 +08:00
Aaron
7b558edc70 fix: fix setOptions 2024-07-15 20:31:47 +08:00
Aaron
1d9d9b164c
chore: update version (#6039) 2024-07-15 20:12:33 +08:00
Aaron
a56b629cfe
fix(layout): fix some layout cannot get data position (#6037)
* chore: update deps version

* fix: fix some layout connot get data position
2024-07-15 20:10:23 +08:00
Aaron
0e911c2ad9
refactor: refactor canvas, support switch renderer (#6034)
* chore: update pnpm workspace

* refactor(runtime): refactor canvas, support setRenderer

* refactor(runtime): graph adpat canvas, remove get/set background

* refactor: adjust $layer property

* refactor: refactor fullscreen plugin

* refactor: base-element add context property

* refactor: canvas add getRenderer API
2024-07-15 19:58:58 +08:00
Yuxin
5b993b007d
chore: update deps (#6035) 2024-07-15 15:12:39 +08:00
Aaron
79e2493796
refactor(registry): register support override (#6032) 2024-07-15 14:34:49 +08:00
Aaron
dcd7d36c76
refactor: refactor click select (#6029)
* feat(utils): add statesOf util

* refactor: adjust getData return type

* refactor(behaviors): refactor click-select
2024-07-12 10:10:10 +08:00
Aaron
81414f3a3f
perf(animation): optimize animation object memory (#6025) 2024-07-12 10:09:56 +08:00
Aaron
adbd9eb59f
fix: fix shortcut key incorrect after blur (#6022) 2024-07-11 17:22:52 +08:00
Aaron
e3b1d48745
feat(utils): add print util (#6020)
* feat(utils): add print util

* refactor: migrate console to print
2024-07-11 14:06:49 +08:00
Aaron
9ec96d0cc2
fix: fix zoomRange invalid (#6021) 2024-07-11 14:02:41 +08:00
Aaron
d666a7d80b
fix(plugins): fix contextmenu getContent repetitive render (#6018) 2024-07-11 11:25:05 +08:00
Aaron
aa73bb71e5
chore: update version (#6008) 2024-07-09 22:15:56 +08:00
Aaron
d8bf0e054c
fix: fix click connot trigger context menu (#6007) 2024-07-09 22:11:59 +08:00
Aaron
8180e576b4
fix: fix origin not effect while zoom canvas (#6006)
* refactor(utils): adjust parsePoint and toPointObject

* fix(viewport): fix zoom canvas origin not effect
2024-07-09 21:36:48 +08:00
Aaron
4d6917d8a0
fix(behaviors): fix drag-canvas (#6002)
* fix(behaviors): fix drag-canvas

* test: update relative test case

* fix: ensure that transform can be resolved
2024-07-09 21:36:38 +08:00
Aaron
7c3fa659a8
chore: update auto close issue (#5992) 2024-07-08 10:11:14 +08:00
Aaron
b317ddce12
fix: fix once not effect (#5990)
* fix: fix issue that once not effect

* chore: update version
2024-07-04 20:58:40 +08:00
Aaron
df23c4250f
chore: update version (#5987) 2024-07-04 16:59:45 +08:00