Commit Graph

97 Commits

Author SHA1 Message Date
hustcc
b364dba430
docs: add radius rect demo, and draw rect node with GRect (#5452)
* docs: add radius rect demo, and draw rect node with GRect

* test: upadte node-rect with Graph

* chore: fix ci

* fix: rect anchor draw error
2024-02-22 10:44:04 +08:00
hustcc
bb09bc447b
docs: add triangle demo (#5451)
* docs: add triangle demo

* fix: halo stroke should be key fill

* fix: remove port width, height, use r to set the radius
2024-02-21 13:20:10 +08:00
hustcc
619cf7d26b
feat: add portXyy and badgeXyy options (#5450)
* feat: add portFill and badgeFill options

* chore: change .js to .ts
2024-02-20 21:41:25 +08:00
hustcc
a4a2299ea4
docs: make site build (#5446)
* chore: make site build

* docs: make api reference work

* chore: add case gallery

* docs: add one demo
2024-02-20 13:25:29 +08:00
Yuxin
98a213ab70
perf: simplify plugin registration; add comments and unit tests (#5352)
* perf: refactor register;add comments and unit tests

* fix: ci

---------

Co-authored-by: yvonneyx <banxuan.zyx@antgroup.com>
2024-01-17 18:59:21 +08:00
Aaron
4058ba5344
chore: merge 5.1 branch into v5 (#5345)
* refactor: remove IGraph usage (#5336)

* refactor: remove IGraph definition and usage

* chore: mark the type problems

* chore: update ci script

* chore: update ci

* refactor: remove history plugin (#5338)

* refactor: upgrade to register plugins globally (#5337)

* refactor: upgrade to register plugins globally

* fix: ci

* feat: register once default plugins during initialization

* refactor: upgrade to register plugins globally

---------

Co-authored-by: yvonneyx <banxuan.zyx@antgroup.com>

* feat: add new spec definition (#5342)

* feat: add new spec definition

* refactor: remove background, cursor option

* refactor: adjust palette option

* refactor: adjust spec definition

* refactor: use non-strict type checking

* refactor: adjust type naming

* refactor: add container option

---------

Co-authored-by: Yuxin <55794321+yvonneyx@users.noreply.github.com>
Co-authored-by: yvonneyx <banxuan.zyx@antgroup.com>
2024-01-15 15:20:30 +08:00
Aaron
ae2a1ad3be
chore: add screenshot for tournament (#5270)
* chore: add screenshot for tournament

* docs: update tournament example data format
2023-12-14 20:41:33 +08:00
Aaron
0690995a0b
feat: add react-node for v5 (#5079)
* chore: remove old react-node package

* feat: upsertShape support create html element

* feat(react-node): init react-node package

* chore: update global config and ant-design/icons version

* style: fix lint errors

* refactor(react-node): adpapt to lastest react-g

* fix: unregister dom-interaction plugin in transient & background canvases

* chore: update demos

* feat: support jsx node drag

* docs: add demo

* fix: fix type errors

* refactor: add site demos

* chore: update pnpm-lock

* refactor: adapt to upsertShape adjust

* chore: update latest g versions

---------

Co-authored-by: yuqi.pyq <yuqi.pyq@antgroup.com>
2023-12-11 22:27:31 +08:00
Aaron
b689d9c76d
fix(site): fix site demo of fruchterman complex data (#5241) 2023-12-09 00:27:03 +08:00
yvonneyx
7d3f1919de
feat: fix item size while zooming (#5097)
Co-authored-by: yvonneyx <banxuan.zyx@antgroup.com>
2023-12-08 20:33:40 +08:00
TT
c71dcac8e3
feat: add tournament demo (#5224)
* feat: add tournament demo

---------

Co-authored-by: TT <TT@mine.com>
2023-12-08 20:27:30 +08:00
Aaron
0a0dc61a88
refactor: refactor for plane node demo and docs (#5220)
* refactor: refactor for plane node demo and docs
2023-12-04 21:24:44 +08:00
Aaron
6ce28292b3
fix: fix typos (#5219)
* fix: fix typos
2023-12-04 20:46:28 +08:00
Timo Suoranta
91844fd062
feat: add plane-node for v5 (#5189)
* feat: add planeNode

---------

Co-authored-by: TT <TT@mine.com>
2023-12-04 15:19:49 +08:00
Aaron
0b89bf7f86
refactor: adjust site demos (#5217)
* refactor: remove unused demos

* refactor: adjust onresize handle

* refactor: update 3d data resource

* docs: update demos imports

* refactor: handle resize uniformly and import module name

* fix: fix issue that demo cannot get container

* refactor: remove unused demos of algorithm and case
2023-12-04 14:42:33 +08:00
yvonneyx
d891fbe173
fix: fix incomplete animation field parsing (#5180)
* fix: fix incomplete animation field parsing

---------

Co-authored-by: yvonneyx <banxuan.zyx@antgroup.com>
2023-11-29 10:59:21 +08:00
Yanyan-Wang
728ed1d69c fix: combo ancestor update problem 2023-11-22 12:55:56 +08:00
Yanyan Wang
c770297fad
fix: transforms should not be executed when update positions (#5177) 2023-11-22 11:39:29 +08:00
Aaron
e08c299a69
docs: update v5 site docs (#5162)
* docs: remove readme and navigation in site

* docs: remove v4 core concept docs

* docs: update history and lod plugin docs

* chore: update dumirc config

* docs: add api shape overview doc

* docs: update manual docs

* docs: update manual and tutorial docs

* chore: update dumirc

* docs: remove design sector

* docs: update docs meta data

* docs: update api docs
2023-11-20 09:50:36 +08:00
Aaron
35aa9486a1
fix: fix issues about examples (#5163)
* fix: fix issue that lodController options.debounce may not exists

* fix: fix issue that Behavior be exported as type

* fix: fix issue that wasm layout demo cannot find graph

* fix: fix typo
2023-11-20 09:49:15 +08:00
yvonneyx
6be8f9810e
Merge pull request #5138 from antvis/fix/example-force-params
refactor: adjust force params demo
2023-11-15 21:26:30 +08:00
yvonneyx
6179c5d036
docs: add item (node,edge,combo) v5 docs (#5143)
* docs: add nodes docs

* docs: add item edge docs

* docs: refine item (node,edge) docs

* docs: combo docs

* perf: refine model rect item

* docs: add custom data transformer docs

* docs: refine item docs

---------

Co-authored-by: yvonneyx <banxuan.zyx@antgroup.com>
2023-11-15 21:16:17 +08:00
Chushen
d3722e94da refactor: adjust force params demo 2023-11-13 16:40:13 +08:00
Yanyan-Wang
29466b30f9 docs: add docs for layouts 2023-11-09 17:50:23 +08:00
Yanyan-Wang
0fbe76dbda chore: refine demo and test data 2023-11-01 17:18:41 +08:00
Yanyan-Wang
4c22889e9f chore: update test data to json 2023-11-01 16:28:53 +08:00
Yanyan-Wang
06c4990271 perf: update incremental nodes initial positions for better animations 2023-11-01 15:12:14 +08:00
Yanyan-Wang
2cb187eb8f chore: demo review 2023-10-31 22:14:20 +08:00
Yanyan-Wang
2d0bf33db0 feat: label canvas and lod controller plugin 2023-10-24 18:04:11 +08:00
Yanyan-Wang
95abc85e06 feat: fitView support configure onlyZoomAtLargerThanViewport; fix: dagre with layer in node data; 2023-10-19 13:42:52 +08:00
Yanyan-Wang
b853dd2355 feat: fitView with onlyOutOfView config; fix: fitView animations; feat: offsetDistance animations; 2023-10-19 13:42:52 +08:00
yvonneyx
c80d5899d6 Merge remote-tracking branch 'origin/v5' into v5-polyline-bugfix 2023-10-17 10:10:55 +08:00
yvonneyx
466c9cee71 docs: update sites 2023-10-16 20:10:28 +08:00
yvonneyx
a1a1f8a35a feat: update polyline 2023-10-16 19:54:03 +08:00
Chushen
3e9e92833d docs: update g2 chart node demos 2023-10-11 15:56:24 +08:00
Chushen
acf450741c feat(docs): add custom g2 node demos 2023-10-11 13:37:08 +08:00
yvonneyx
f21b12f28a Merge remote-tracking branch 'origin/v5' into feat/processParallelEdges 2023-10-10 18:48:39 +08:00
Yanyan-Wang
fba9c158b1 fix: create-edge shouldBegin and shouldEnd 2023-10-10 11:51:20 +08:00
yvonneyx
a45097714b fix: refine process parallel edges 2023-10-09 15:35:22 +08:00
yvonneyx
86be188583 Merge remote-tracking branch 'origin/v5' into feat/processParallelEdges 2023-10-09 14:53:21 +08:00
yvonneyx
1597a9a9f7 fix: polyline cannot display arrow; automatic obstacle avoidance 2023-10-08 21:27:48 +08:00
Yanyan-Wang
dbca9b43c7 docs: add map view demo 2023-10-08 14:50:16 +08:00
Yanyan-Wang
5ec4bdfe0e chore: export BaseNode; fix: cannot zoom-in with zoom-3d; chore: unify before and afterlayout events 2023-10-07 19:15:25 +08:00
yvonneyx
77ce78928b feat: update transform PLUGIN dataflow 2023-10-07 17:59:58 +08:00
yvonneyx
eb28c80281 feat: processParallelEdge supports add data 2023-09-22 10:22:47 +08:00
Yanyan-Wang
d847d6082a docs: add scroll-canvas, snapline, create-edge demos 2023-09-20 20:45:13 +08:00
yvonneyx
af94170275 Merge remote-tracking branch 'origin/v5' into feat/processParallelEdges 2023-09-20 20:21:01 +08:00
Yanyan-Wang
b27f42c911 chore: refine 2023-09-20 18:17:33 +08:00
Yanyan-Wang
05214ee16c feat: update mapper 2023-09-13 18:46:45 +08:00
yvonneyx
b516769927 feat: processParallelEdges 2023-09-11 13:26:30 +08:00