Commit Graph

5297 Commits

Author SHA1 Message Date
yvonneyx
fc8529033b fix: pass the complete node size to the layout for computation 2024-11-04 14:27:34 +08:00
Yuxin
cffb97475c
chore: update dep versions (#6462) 2024-11-04 11:29:45 +08:00
Aaron
0ef8e8f15d
test: update snapshots (#6466)
Co-authored-by: antv <antv@antfin.com>
2024-11-04 10:31:31 +08:00
Aaron
404c3b96a4
refactor: support config metadata, update script and build config (#6460)
* refactor: support config metadata, update script and build config

* refactor: add waitForRender config

---------

Co-authored-by: antv <antv@antfin.com>
2024-10-31 18:45:09 +08:00
octojedi
e689156e04
Create SECURITY.md (#6436) 2024-10-31 10:13:34 +08:00
Aaron
e4ebb8d07a
feat: support g6 ssr (#6454)
* refactor: canvas support disable mutiple layers

* refactor: fix globalThis access

* feat: add g6 ssr

* chore: config build options

* chore: update readme

---------

Co-authored-by: antv <antv@antfin.com>
2024-10-31 10:11:34 +08:00
Aaron
81eaa54fa5
docs: update site docs (#6456)
* docs: update site docs

* chore: use site data news

---------

Co-authored-by: antv <antv@antfin.com>
2024-10-30 20:37:27 +08:00
Yuxin
98f7d39c97
chore: update dep versions (#6452) 2024-10-29 20:09:54 +08:00
Yuxin
c59c31a5cc
chore: update version (#6451) 2024-10-29 18:00:49 +08:00
Yuxin
062b49c4d5
fix: correct offset issue with custom arrow (#6448)
* fix: correct offset issue with custom arrow

* fix: update snapshots
2024-10-29 13:19:41 +08:00
rtpacks
1cc16118b6
docs: update element.zh.md (#6439) 2024-10-28 20:47:01 +08:00
Yuxin
86b9283858
fix: fix issue with hidden elements being displayed in optimize-viewport-transform (#6438)
* fix: fix issue with hidden elements being displayed in optimize-viewport-transform

* fix: update remarks

* fix: update remarks

* test: update unit tests
2024-10-28 14:22:01 +08:00
Aaron
56a87d2bd7
refactor: adapt g optimization (#6431)
Co-authored-by: antv <antv@antfin.com>
2024-10-28 10:15:59 +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