Commit Graph

5157 Commits

Author SHA1 Message Date
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
Aaron
338707e40b
feat: callback function add this point to graph (#5926)
* feat(spec): this of element mapper point to graph

* feat(spec): plugin, behavior and transform support callback and this point to graph

* test: update test case

* test: add test case to improve coverage rate

* refactor: remove CallableObject type
2024-06-25 12:01:31 +08:00
Aaron
7e552f2346
chore: update version (#5922) 2024-06-25 11:03:25 +08:00
shark-mk
7cf0af25a8
修复Demo中Fruchterman图布局"使用GPU加速"layout的type配置错误 (#5878) 2024-06-21 21:12:01 +08:00
Aaron
8956d9853a
fix: fix issue about contextmenu (#5913)
* fix: fix issue about contextmenu

* test: update test case
2024-06-21 21:10:34 +08:00
Aaron
ee335ed903
chore: update graphlib version (#5921)
* chore: update graphlib version

* refactor: adjust demo and comment
2024-06-21 21:10:22 +08:00
Aaron
b8ddc5247c
refactor: optimize behavior performance (#5920) 2024-06-21 20:03:35 +08:00
Aaron
c3c2ef3e1b
fix(behaviors): fix click select unexcept neighbor select (#5919) 2024-06-21 17:41:31 +08:00
Shane
33047a8d50
docs: fix site docs (#5897)
* fix: ReferenceError: Graph is not defined

* refactor: using destructuring assignment
2024-06-21 16:59:35 +08:00
Aaron
49b302924d
docs: add api category for addChildrenData (#5910) 2024-06-21 16:58:39 +08:00