Commit Graph

919 Commits

Author SHA1 Message Date
yvonneyx
3cde03aa40 fix: fix tree test 2024-09-25 10:10:01 +08:00
yvonneyx
ccd2cc6f06 feat: tree depth 2024-09-24 20:20:44 +08:00
Yuxin
dfa22d0915
feat: add a data transform for mapping node size (#6347)
* fix: adjust graph data to layout model

* feat: add map-node-size transform

* test: add map-node-size unit demo

* docs: update page name

* refactor: optimize performance

* chore: increase limit-size

* fix: fix cr issues

* test: add unit test

* fix: modify code annotation
2024-09-19 11:22:00 +08:00
Aaron
5cbd89c3e9
fix: fix auto fit not effect when disable element animation (#6342)
Co-authored-by: antv <antv@antfin.com>
2024-09-18 10:10:32 +08:00
Aaron
b80f1eb093
chore: update version (#6338)
Co-authored-by: antv <antv@antfin.com>
2024-09-14 16:00:49 +08:00
Aaron
ded7277f12
feat: extension-react adapt react 16/17 (#6339)
* feat(react): adapt react 16/17

* test: update path alias, remove inner graph

* chore: config test env

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-14 15:57:17 +08:00
Aaron
163db70baf
fix: change zIndex in DataController (#6295) (#6337)
* fix: change zIndex in DataController (#6295)

* fix: deduplicate multiple translations to the same node
* test: update zIndex related snapshots
* fix: deal with path seperator in Windows

* test: update test snapshots

---------

Co-authored-by: Hawtin Zeng <73981739+HawtinZeng@users.noreply.github.com>
Co-authored-by: antv <antv@antfin.com>
2024-09-14 14:54:51 +08:00
Aaron
d3cde06549
docs: update docs about how to generate test snapshots (#6333)
Co-authored-by: antv <antv@antfin.com>
2024-09-14 14:44:56 +08:00
Aaron
7f804adfeb
docs: update getting start demo (#6328)
* docs: update getting start demo

* docs: update docs about usage in react

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-14 14:44:45 +08:00
Yuxin
5b94b1ed59
fix: fix issue of mindmap demo cannot collapse (#6335) 2024-09-13 18:40:00 +08:00
Aaron
bb3fe18e94
refactor(behaviors): set default value of range of drag canvas to Infinity (#6324)
Co-authored-by: antv <antv@antfin.com>
2024-09-12 14:35:28 +08:00
Aaron
387f42143c
fix(elements): fix element cannot translate to origin point (#6319)
Co-authored-by: antv <antv@antfin.com>
2024-09-12 10:49:42 +08:00
Aaron
f2697cd62f
refactor(plugins): adjust minimap to avoid flash in some scene (#6316)
Co-authored-by: antv <antv@antfin.com>
2024-09-12 10:49:27 +08:00
Yuxin
9221e92a4e
fix: correct hover-activate event listeners (#6315) 2024-09-11 14:55:24 +08:00
Aaron
6b0f567526
docs: add built-in extension docs (#6314)
* refactor: rename position-radial-labels to place-radial-labels

* docs: add extension dict and instructions

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-11 14:42:01 +08:00
Aaron
88f480bbc7
docs: update contribution instructions (#6299)
* chore: wip

* docs: update contribution instruction url

* docs: update contribution docs

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-10 14:23:30 +08:00
Yuxin
64ad30737f
chore: update @antv/layout version (#6297) 2024-09-09 10:21:55 +08:00
Yuxin
1089e63d62
chore: update version (#6293) 2024-09-06 17:52:43 +08:00
Aaron
46282b6af4
docs: improve docs (#6291)
* docs: add docs about project bundle

* chore: update order and script

* docs: add faq about dirty rectangles

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-06 17:48:46 +08:00
Yuxin
e3a32ffa05
feat: add performance diagnosis flowchart demo (#6289)
* feat(polyline): ensure correct orthogonal routing with ports

* chore: rename decision tree to fund flow

* feat: add performance diagnosis demo

* refactor: expose hover-activate getActiveIds function

* feat: add flowchart demo

* fix: fix ci issues

* refactor: performance diagnosis demo
2024-09-06 17:41:31 +08:00
Aaron
19858be16b
fix(elements): fix the issue that html node cannot catch click event (#6290)
Co-authored-by: antv <antv@antfin.com>
2024-09-06 16:06:09 +08:00
Yuxin
62599810d8
docs: refactor api docs (#6284)
* docs: refactor api docs

* docs: add 3d behavior docs

* docs: correct comments

* Revert "docs: add 3d behavior docs"

This reverts commit 5c8c64bb713ead4fa41039dad01be426a365cc00.

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-05 17:43:29 +08:00
Aaron
9ce8891a96
chore: update version (#6279)
Co-authored-by: antv <antv@antfin.com>
2024-09-05 13:03:01 +08:00
Aaron
fb1626d15f
refactor(elements): adjust the computation logic of combo (#6275)
* feat(util): add hasPosition util

* refactor(elements): adjust the computation logic of combo

* test: add test case

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-05 11:17:16 +08:00
Aaron
5203d148aa
perf: fix report name to avoid error in ntfs system (#6276)
Co-authored-by: antv <antv@antfin.com>
2024-09-05 10:46:03 +08:00
Aaron
29941ecde1
refactor(graph): frontElement will bring relative edges forward (#6272)
* refactor(graph): frontElement will put relative edges forward

* test: add test case

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-05 10:23:26 +08:00
Orangii
cd756af678
fix: correctly hide tooltip when point out (#6270)
Signed-off-by: orangii <me@orangii.cn>
2024-09-04 11:46:11 +08:00
Aaron
1657420ec8
chore: update deps version and disable mako compress (#6262)
* chore: update deps version and disable mako compress

* chore: lock version of @umijs/mako

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-04 11:25:29 +08:00
Aaron
7bac328cf4
perf: add report before massive optimize (#6269)
Co-authored-by: antv <antv@antfin.com>
2024-09-04 11:25:18 +08:00
Aaron
b49ce81fc1
perf: performance optimize (#6267)
* feat(utils): add isElementDataEqual to optimize compare time cost

* docs: disable animation of 3d massive

* perf: optimize graph setOptions perf

* perf: skip unnecessary transforms

* refactor: adjust tree structure logic

* docs: optimize site demo to use canvas renderer

* perf: add massive element perf test case

* perf: add perf test report

* test: add test case to improve coverage

* fix: fix the issue that devicePixelRatio not effect

* perf: skip unnecessary style copy of unnecessary and computing style

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-03 17:35:08 +08:00
Yuxin
9c04450081
feat(behavior): scroll-canvas/drag-canvas support range (#6266)
* feat: scroll-canvas supports range

* feat: drag-canvas supports range

* test: add range tests

* fix: fix cr issue
2024-09-03 14:36:30 +08:00
Yuxin
b7bf98794a
feat: add radial dendrogram demo (#6263)
* feat: add radial dendrogram demo

* test: add unit tests

* docs: add site demos

* fix: fix ci issue
2024-09-02 16:03:21 +08:00
Aaron
f576afc6e0
chore: updater version (#6261)
Co-authored-by: antv <antv@antfin.com>
2024-09-02 10:07:22 +08:00
Aaron
b00ec104f8
feat: add demo about why do cats (#6259)
* test: add demo of why do cats

* docs: add site demo

* docs: add demo ref

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-02 10:02:43 +08:00
Aaron
6317115603
fix(behaviors): contextmenu and blur events will interrupt drag process (#6253)
* fix(behaviors): contextmenu and blur events will interrupt drag process

* refactor: fix cr issue

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-02 10:02:29 +08:00
Aaron
9b1eadc018
fix(runtime): fix issue that try to expand or collapse a node may cause exception (#6252)
Co-authored-by: antv <antv@antfin.com>
2024-08-29 20:00:24 +08:00
Aaron
f78ed1b346
chore: update layout version and add to site env (#6254)
* chore: update antvis layout version

* chore: add layout to site env

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-29 19:52:39 +08:00
Aaron
2c21154855
perf: optimize element dependencies effect trace performance (#6249)
* perf: add baseline performance report

* perf: optmize effect performance

* perf: generate performance report

* test: update test demo

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-29 19:45:33 +08:00
Aaron
8553175ce0
chore: update version (#6248)
Co-authored-by: antv <antv@antfin.com>
2024-08-29 10:20:45 +08:00
Aaron
aa87ec67c3
docs: add sub graph demo (#6242)
* fix(elements): correct html bounds shape position

* fix(elements): html node only forward event in canvas renderer

* refactor(utils): createPluginContainer support style param

* fix(plugins): set contextmenu container in a high zIndex

* refactor: adjust comment and export effect

* fix: fix expanded elements with wrong z-index

* docs: add sub graph demo

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-29 10:00:38 +08:00
Aaron
35d917cbf0
fix(plugins): fix tooltip with incorrect position after graph resize (#6246)
Co-authored-by: antv <antv@antfin.com>
2024-08-29 10:00:20 +08:00
Aaron
c9ba7fcce6
refactor: html node support dx, dy (#6237)
* refactor(elements): html node support dx, dy

* docs: add html demo

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-27 15:01:58 +08:00
Yuxin
df139d4b6e
feat(plugin): add fisheye plugin (#6235)
* feat(plugin): add fisheye plugin

* test: add fisheye unit tests

* docs: add fisheye demo

* fix: remove useless values

* fix: remove undefined value
2024-08-27 11:27:51 +08:00
Yuxin
6fc9a92cda
refactor: adjust edge filter lens plugin options (#6236)
* refactor: adjust edge filter lens plugin options

* test: add unit test

* test: add unit test

* fix: remove useless value
2024-08-27 11:21:28 +08:00
Aaron
8dc9e587cc
chore: update version (#6231)
Co-authored-by: antv <antv@antfin.com>
2024-08-22 21:00:15 +08:00
Aaron
1c9729bacb
feat: support shape type extension (#6209)
* feat: support shape extension

* refactor: upsert support pass ctor type

* refactor: fix types of extension 3d

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-22 20:58:29 +08:00
Aaron
9f369238ee
perf: update iperf version and generate new report (#6229)
Co-authored-by: antv <antv@antfin.com>
2024-08-22 20:57:47 +08:00
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
Aaron
b0ce104eb1
refactor: getPluginInstance allow match by type secondary (#6215)
Co-authored-by: antv <antv@antfin.com>
2024-08-22 20:25:49 +08:00
Aaron
b0453225a8
fix: when update styles of node, it's react node does't update. (#6208)
* feat: shape upsert support hook callback

* fix: fix g node doesnot update when node props change

* test: update test case

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-22 19:15:31 +08:00