Commit Graph

5285 Commits

Author SHA1 Message Date
yvonneyx
7ba4eb1cff fix: fix issue with hidden elements being displayed in optimize-viewport-transform 2024-10-25 16:03:38 +08:00
Aaron
80c1bca893
refactor: adjust v5 site (#6427)
* chore: add notification

* chore: update links

---------

Co-authored-by: antv <antv@antfin.com>
2024-10-22 20:45:00 +08:00
Aaron
35687e9ecb
chore: update site config and deps version (#6420)
Co-authored-by: antv <antv@antfin.com>
2024-10-18 17:43:21 +08:00
Yuxin
dab826a5d0
fix: skip non-existent elements (#6417) 2024-10-17 18:38:26 +08:00
Yuxin
0ab5f8d1a3
docs: add fishbone diagram demo (#6415) 2024-10-17 14:25:18 +08:00
Yuxin
fb22f3adb7
docs: optimize layout demos (#6413) 2024-10-16 19:39:46 +08:00
Yuxin
64aa716970
chore: update version (#6408) 2024-10-15 15:47:51 +08:00
Yuxin
b30018c23d
fix: avoid unnecessary redraws for parallel edges (#6406)
* refactor: avoid triggering redraw for parallel edges when unnecessary

* fix: update isStyleEqual

* docs: add parallel edges remarks

* fix: update snapshots
2024-10-15 15:38:02 +08:00
Yuxin
6e213ba8f5
refactor: refactor fix-element-size behavior and add information density example (#6401)
* refactor: fix element size

* fix: fix unit tests

* fix: fix reset transform

* fix: update snapshots

* docs: add unicorns and investors demo

* feat: label size sync to key size

* refactor: rename syncToKeySize to syncToNodeSize

* fix: update snapshots

* refactor: migrate syncToLabelSize

* test: add map-node-size unit tests

* refactor: use mdn to load data

* refactor: rename options names
2024-10-15 14:55:06 +08:00
Yuxin
2bacd5d716
feat: dynamically toggle label visibility based on density to ensure adaptive display (#6398)
* feat: toggle label visibility

* fix: fix ci issues

* test: add test

* refactor: rename toggle-label-visibility to auto-adapt-label

* fix: add update method to unbind and rebind events when options are updated

* refactor: rename page name

* fix: update remarks

* test: add unit tests

* fix: update default value
2024-10-12 14:52:00 +08:00
Yuxin
7c87eb3576
feat: add edge bundling plugin (#6391)
* feat: add edge bundling plugin

* fix: remove airline demo
2024-10-11 10:18:32 +08:00
Yuxin
e020c32480
fix: retrieve element type directly from pointerleave event (#6383)
* fix: retrieve element type directly from pointerleave event

* fix: update
2024-10-09 16:33:37 +08:00
Yuxin
f35530dfb4
docs: add snapline demo (#6386) 2024-10-09 16:33:25 +08:00
Aaron
fecf4c8c6f
docs: update faq (#6371) (#6387)
* docs: update Q&A



---------

Co-authored-by: 一闪一闪亮晶晶 <resetsix223@gmail.com>
Co-authored-by: antv <antv@antfin.com>
2024-10-09 15:28:33 +08:00
uhobnil
1636f80ada
fix: error targetType when pointer leave (#6377) (#6382) 2024-10-08 19:38:36 +08:00
Aaron
c31912ebe1
chore: update version (#6375)
Co-authored-by: antv <antv@antfin.com>
2024-09-30 16:40:31 +08:00
Aaron
68c168e95c
docs: update docs (#6370)
Co-authored-by: antv <antv@antfin.com>
2024-09-30 14:43:43 +08:00
uhobnil
bfa1c9e872
fix: target node position error when create edge (#6368)
* fix: target node position error when create edge

* fix: use getElementData api to get source node and update test case screenshots
2024-09-29 14:31:39 +08:00
Yuxin
6e2355020c
fix: prevent events from being triggered on destroyed elements (#6369) 2024-09-27 17:56:43 +08:00
rtpacks
fcef418c32
docs: fix typos (#6366) 2024-09-26 17:40:14 +08:00
Yuxin
8e0dc9caf6
chore: update version (#6365) 2024-09-26 11:08:02 +08:00
Aaron
5521ef4550
refactor(behaviors): set default value of scroll canvas range to Infinity (#6361)
Co-authored-by: antv <antv@antfin.com>
2024-09-26 10:52:46 +08:00
Yuxin
4eb91c38a3
feat: tree depth (#6363)
* feat: tree depth

* fix: fix tree test
2024-09-26 10:52:14 +08:00
Aaron
e6908d58bf
chore: update build target and version (#6355)
* chore: setup build target to es6

* chore: update version

* docs: update site docs

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-20 17:29:22 +08:00
Yuxin
b54d05717b
feat: expose getDescendantsData api (#6354) 2024-09-20 17:27:52 +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