Commit Graph

5166 Commits

Author SHA1 Message Date
antv
bae52457be fix(elements): fix incorrect ports position when rotate node 2024-08-01 19:39:41 +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
Aaron
aa51954a7b
chore: refactor contribute script (#5985) 2024-07-04 16:51:12 +08:00
Aaron
8160df7201
fix(animation): fix preprocessKeyframes (#5981)
* fix(animation): fix preprocessKeyframes

* chore: update workflow
2024-07-04 16:18:06 +08:00
Aaron
c0870566b6
fix: fix viewport transform (#5979)
* fix: fix viewport transform

* test: update test case and snapshots

* test: add test case
2024-07-04 10:13:33 +08:00
Aaron
3f624e0aa0
fix: fix node not find for removed combo (#5975) 2024-07-03 22:54:12 +08:00
Aaron
b9bc1f36fc
feat(layout): pipeline dispatch event in each step layout (#5940)
* feat(layout): pipeline dispatch event in each step layout

* refactor: rename to stage layout
2024-07-03 13:40:49 +08:00
Aaron
ef2645fc98
docs: fix demos (#5974) 2024-07-03 11:16:14 +08:00
Aaron
cc15c08fff
fix(behaviors): click-select sync state update by api (#5958) 2024-07-03 10:46:04 +08:00
Aaron
92e8eb578f
fix: fix demos (#5956)
* docs: fix background demo typo

* docs: adjust indented tree demo
2024-07-03 10:45:45 +08:00
Aaron
68f6a2fa2d
refactor: adjust exports (#5957) 2024-07-03 10:45:17 +08:00
Aaron
a3e6f7d6ae
refactor(behavior): destroyed element wont dispatch event (#5934) 2024-06-25 19:24:37 +08:00
Aaron
0248c9c940
chore: config changeset, update version (#5930)
* chore: config changeset

* chore: fix cli deps version

* chore: add publish script

* chore: update version, add changelog

* chore: update changeset config

* chore: update publish script

* chore: update g6-cli

* chore: update version before publish
2024-06-25 15:28:14 +08:00
Aaron
5324255ee4
docs: update README (#5927) 2024-06-25 13:57:19 +08:00