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
Jinbao1001
9b6f1b21a3
feat: support mako build ( #5917 )
...
* feat: support mako build
* chore: add empty line
* deps: add react-dom
---------
Co-authored-by: xiaoxiao <xiaoxiao.lh@antgroup.com>
2024-06-21 16:38:26 +08:00
Aaron
62b822bb38
chore: update version ( #5908 )
2024-06-20 21:38:11 +08:00
Aaron
9c1345dc3f
refactor: exports type and add comments ( #5907 )
...
* refactor: export HierarchyKey type
* refactor: add off api
* refactor: complete graph comments
2024-06-20 21:20:38 +08:00
Aaron
966655ba83
feat: add intended tree case ( #5896 )
...
* fix: fix graph api type
* refactor: exports g6 built-in iconfont
* fix: fix animate x/y/z not effect
* feat: add intended tree case
2024-06-20 21:12:51 +08:00
Aaron
0f6260bb3b
feat: add addChildrenData api ( #5904 )
2024-06-20 21:12:36 +08:00
Yuxin
c76940d6ef
refactor: pass context in layout ( #5906 )
...
* feat: layout support context
* fix: fix ci issues
* refactor(utils): ajust layoutAdapter types
* chore: fix deps version
* chore: fix ci report
* test: update snapshot
---------
Co-authored-by: Aaron <yangtao.yangtao@antgroup.com>
2024-06-20 20:49:08 +08:00
Aaron
760c98150c
refactor: remove CallableValue type ( #5903 )
2024-06-20 16:42:54 +08:00
Aaron
79bb790299
fix: fix error when manipulate data ( #5899 )
...
* fix: fix error when delete node data in tree graph
* test: add case to test combo change
* fix: fix error when collapse combo with only one child
2024-06-20 15:48:03 +08:00
Aaron
c42c27475e
fix(transforms): fix mistake when connect to a collapsed node ( #5891 )
...
* fix(transforms): fix mistake when connect to a collapsed node
* test: add test case and snapshots
2024-06-19 15:22:17 +08:00
Aaron
75dc0f1b4f
refactor: export badge, icon, label shape ( #5887 )
...
* refactor: adjust shapes
* refactor: export badge, icon, label shape
2024-06-19 14:34:47 +08:00
Aaron
d6b3e362f2
test: add test to check export version ( #5882 )
2024-06-19 14:29:28 +08:00
Aaron
aa341453ad
fix: fix Style type ( #5881 )
2024-06-19 14:29:14 +08:00
Aaron
6c74961f30
chore: add tslib dev deps ( #5883 )
2024-06-18 21:05:41 +08:00
Aaron
08606032ae
feat(elements): support control whether to execute draw methods ( #5874 )
...
* refactor(elements): optimize element
* test: update combo demo and test case
* refactor(elements): polyfill upsert logic
* refactor(element): adjust element logic
* chore: config jest for decorators
* feat: add getSubShapeStyle util
* refactor(elements): adjust icon style
* feat(elements): support control whether to execute draw methods
* revert: revert getNode refactor
* refactor: implement shallow style equal replace isEqual
2024-06-18 17:32:09 +08:00
Aaron
3e2550a844
refactor(behaviors): refactor click-select in abnormal environment ( #5879 )
2024-06-18 17:03:40 +08:00
SevenNorth
fcf71e0b2d
fix: 修复状态文档中关于状态样式示例代码错误 ( #5875 )
2024-06-17 14:23:26 +08:00
Aaron
e0b4e44358
refactor: adjust element type definition ( #5865 )
...
* refactor: remove Position and Points type
* refactor(elements): adjust elements type define
2024-06-14 09:19:43 +08:00
Aaron
e91d473ebd
docs: update f&q ( #5861 )
2024-06-13 10:32:31 +08:00
Aaron
343941bf2f
docs: fix site docs ( #5856 )
...
* docs: fix cover image
* docs: correct custom edge example
2024-06-12 16:55:46 +08:00
Aaron
33a56144db
refactor: combine elements' container ( #5855 )
...
* refactor: combine elements' container
* test: update test case snapshots
* fix: fix getFrontZIndex logic
* test: update snapshots
* test: adjust test case
* fix: front combo will front its ancestor node
* test: add test case and snapshots
* refactor: remove zIndexOf util
2024-06-12 16:54:09 +08:00
Aaron
03d9a03e70
chore: update issue template ( #5837 )
2024-06-07 19:44:01 +08:00
Aaron
f098be2779
docs(site): update tree graph demo ( #5840 )
2024-06-07 19:38:07 +08:00
Aaron
b1d2a6da5b
docs: fix doc installation ( #5842 )
2024-06-07 19:37:54 +08:00
Aaron
1f88af4535
fix: assign default text font-family to avoid residual ( #5839 )
...
* fix: assign default text font-family to aviod residual
* test: update snapshots
2024-06-07 17:42:36 +08:00
Aaron
34eab260a6
chore: fix postinstall error ( #5833 )
2024-06-06 21:45:27 +08:00
Aaron
18590a509f
docs: fix demo ( #5832 )
2024-06-06 14:52:38 +08:00
Yuxin
d93586373e
docs: fix api demo ( #5831 )
2024-06-06 14:52:18 +08:00
Aaron
446c890c1e
chore: update tab and postinstall script ( #5828 )
...
* chore: update tab and postinstall script
* chore: update tip messages
2024-06-06 11:06:52 +08:00
Yuxin
49398ddecc
feat: add fullscreen plugin ( #5825 )
...
* feat: add fullscreen plugin
* fix: fix cr issues
* docs: add alias
2024-06-06 10:19:35 +08:00
Aaron
af812a8411
fix(plugins): fix error when members is empty ( #5819 )
2024-06-06 10:00:45 +08:00
Aaron
0a2fccfbf2
docs(site): adjust algorithm demos ( #5820 )
2024-06-06 10:00:33 +08:00
Aaron
6d89feb085
refactor: adjust by designer review ( #5826 )
...
* fix(utils): fix issue when getAllPorts get undefined node
* refactor(utils): adjust simple arrow
* fix: fix error when get connection point
* refactor(theme): adjust combo style
* style(behaviors): adjust brush-select style
* refactor(elements): use round corner arrows
* refactor(plugins): timebar support config padding
* test: update test snapshots and cases
2024-06-06 09:59:57 +08:00
Aaron
87cea2dfe1
refactor(behaviors): drag-element can set pointer cursor ( #5827 )
...
* fix: emit event type
* refactor(behaviors): drag-element can set pointer cursor
* refactor(behaviors): adjust unbind logic
* fix(behavior): adjust setCursor value logic
2024-06-06 09:59:43 +08:00
Aaron
c1be9ab52a
chore: update version ( #5817 )
...
* chore: update version
* chore: add site build script
* chore(site): update site case
* chore(site): adjust cases
* chore(site): disable api doc
2024-06-05 15:09:16 +08:00
Yuxin
472fa89920
refactor(element): adjust node and edge style; add badge to BaseEdge ( #5806 )
...
* refactor(element): adjust node and edge
* test: update snapshots and ci issues
* fix: fix cr issue
2024-06-05 11:25:03 +08:00
Aaron
a5403b37a0
fix: fix missing refactor event ( #5816 )
2024-06-04 21:32:50 +08:00
Yuxin
e932c0ac7b
feat: add getElementData api ( #5814 )
2024-06-04 21:29:58 +08:00
Aaron
3f4810d9ae
docs(site): update docs ( #5815 )
2024-06-04 21:29:36 +08:00
Aaron
fe2f6346c2
refactor(elements): set className instead of id of upsert ( #5813 )
...
* refactor(elements): set className instead of id of upsert
* test: update snapshots
* refactor(elements): remove useless logic
* fix: fix types
2024-06-04 19:12:19 +08:00
Aaron
13ce857a1a
refactor: adjust export event ( #5812 )
2024-06-04 13:56:13 +08:00
Aaron
8934714cce
refactor(elements): remove getKey method on base-node ( #5811 )
2024-06-04 13:56:03 +08:00