Commit Graph

5308 Commits

Author SHA1 Message Date
yvonneyx
50eb743738 chore: update deps 2024-11-11 11:06:51 +08:00
yvonneyx
187e9a823d test: update snapshots 2024-11-11 10:43:08 +08:00
yvonneyx
5cce470bc7 fix: update layout case demo 2024-11-11 10:42:04 +08:00
yvonneyx
275881b94c test: fishbone unit tests 2024-11-11 10:11:36 +08:00
yvonneyx
899d38431b feat: fishbone layout 2024-11-11 10:10:47 +08:00
Aaron
e2f9b82f09
chore: adapt g enableMassiveParsedStyleAssignOptimization (#6493)
* chore: update deps version

* refactor: enable optimize flag

* test: update snapshots

* fix(plugin): fix background z index

* chore: commit changeset

---------

Co-authored-by: antv <antv@antfin.com>
2024-11-08 15:26:31 +08:00
Aaron
7d6b8ea109
fix: fix canvas style (#6487)
* fix: fix canvas style

* test: update test case

* chore: update version

---------

Co-authored-by: antv <antv@antfin.com>
2024-11-07 19:11:02 +08:00
Yuxin
9afd9798c3
chore: update version (#6481)
* chore: update version

* chore: exports
2024-11-05 20:22:55 +08:00
Aaron
fbf37ffdc9
fix: destroy substitute shape after measure bounds (#6478)
Co-authored-by: antv <antv@antfin.com>
2024-11-05 20:02:52 +08:00
Aaron
49ba7ff58c
perf: optimize behaviors (#6465)
* refactor: graph add rendered flag, setState add stage param

* perf: skip update transform when position doesnot change

* perf: optimize behaviors perf

---------

Co-authored-by: antv <antv@antfin.com>
2024-11-05 20:00:48 +08:00
Yuxin
d912097f92
refactor: pass the complete node size to the layout for computation (#6473)
* fix: pass the complete node size to the layout for computation

* chore: update g version
2024-11-05 19:30:41 +08:00
Aaron
858a23feb6
fix(graph): fix resize logic (#6469)
Co-authored-by: antv <antv@antfin.com>
2024-11-05 17:02:54 +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