Commit Graph

339 Commits

Author SHA1 Message Date
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
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
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
fxzer
7078585891
docs: delete duplicate doc hyperlinks (#6169) 2024-08-12 15:31:44 +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
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
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
6b2ec3d41c
docs: add coordinate docs (#6117)
Co-authored-by: antv <antv@antfin.com>
2024-08-02 16:08:01 +08:00
Yuxin
56e54adf96
feat: autosize element label (#6068) 2024-07-19 19:09:31 +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
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
66a98a0f66
docs: add level of detail demo (#6038)
* docs: add level of detail demo
2024-07-16 10:12:38 +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
Yuxin
5b993b007d
chore: update deps (#6035) 2024-07-15 15:12:39 +08:00
Aaron
ef2645fc98
docs: fix demos (#5974) 2024-07-03 11:16:14 +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
shark-mk
7cf0af25a8
修复Demo中Fruchterman图布局"使用GPU加速"layout的type配置错误 (#5878) 2024-06-21 21:12:01 +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
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
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
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
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
SevenNorth
fcf71e0b2d
fix: 修复状态文档中关于状态样式示例代码错误 (#5875) 2024-06-17 14:23:26 +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
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
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
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
0a2fccfbf2
docs(site): adjust algorithm demos (#5820) 2024-06-06 10:00:33 +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
3f4810d9ae
docs(site): update docs (#5815) 2024-06-04 21:29:36 +08:00
Aaron
13ce857a1a
refactor: adjust export event (#5812) 2024-06-04 13:56:13 +08:00
Aaron
3b28a239e6
chore: update deps version (#5807) 2024-06-04 11:02:00 +08:00
Aaron
38b3e482ab
docs(demo): adjust site demo (#5771) 2024-06-03 17:44:00 +08:00
Yuxin
3d1350b3ab
feat: click element behavior support setting neighborSelectedState (#5798)
* feat: click element behavior support setting neighborSelectedState

* refactor: rename to click-select and hover-activate behavior
2024-06-03 17:21:23 +08:00
Aaron
2cea1bcc01
docs: update docs (#5804)
* docs(site): add 3d manual, update feature

* chore: update dumi-theme-antv version

* docs: update docs
2024-06-03 17:19:47 +08:00
Aaron
133bcc40ea
refactor(layout): export d3-force-3d from 3d extension (#5803)
* refactor(layout): export d3-force-3d from 3d extension

* refactor(layout): rename d3force to d3-force
2024-06-03 17:12:46 +08:00
Aaron
576806e9ce
docs(site): add demos (#5802) 2024-06-03 14:46:38 +08:00
Yuxin
ac0490f38c
fix: fix the conflict issue of hover-element and drag-element (#5762)
* fix: fix behaviors collision

* fix: add script to generate doc at local

* fix: fix cr issue
2024-05-23 17:35:23 +08:00
hustcc
65802cbcd8
feat: add plugin background (#5761)
* feat: add plugin background

* chore: update demo with background

* chore: fix ci

* test: add test case for background plugin

* chore: fix cr
2024-05-23 11:59:43 +08:00
Aaron
b7ccbcdc2b
feat: support tree expand collapse (#5755)
* test: rename test case

* refactor(behaviors): adjust collapse-expand

* feat(utils): add isCollapsed util

* fix(runtime): avoid unexcepted combo refresh when update node data

* refactor(elements): edge support loop config

* feat(runtime): support simulate layout

* feat(runtime): support collapse and expand tree node

* test(behaviors): add collapse expand node test case

* refactor(runtime): rename collapse expand api name

* refactor: remove collapseOrigin

* refactor(animation): adapat combo animation
2024-05-22 13:50:47 +08:00
Yuxin
3b1bef3dd2
docs: iconfont (#5757) 2024-05-22 10:22:49 +08:00
Yuxin
a31abe4c9e
feat: add scaffold for creating G6 extension (#5749)
* feat: add scaffold for creating G6 extension
2024-05-20 20:16:07 +08:00
Aaron
716cb92084
fix: fix demos (#5754)
* fix: fix unexpected update style

* docs(demos): update demos

* fix(runtime): fix attributes assign
2024-05-20 15:18:21 +08:00