Commit Graph

57 Commits

Author SHA1 Message Date
Jinbao1001
9b6f1b21a3
feat: support mako build (#5917)
* feat: support mako build

* chore: add empty line

* deps: add react-dom

---------

Co-authored-by: xiaoxiao <xiaoxiao.lh@antgroup.com>
2024-06-21 16:38:26 +08:00
Yuxin
c76940d6ef
refactor: pass context in layout (#5906)
* feat: layout support context

* fix: fix ci issues

* refactor(utils): ajust layoutAdapter types

* chore: fix deps version

* chore: fix ci report

* test: update snapshot

---------

Co-authored-by: Aaron <yangtao.yangtao@antgroup.com>
2024-06-20 20:49:08 +08:00
Aaron
c1be9ab52a
chore: update version (#5817)
* chore: update version

* chore: add site build script

* chore(site): update site case

* chore(site): adjust cases

* chore(site): disable api doc
2024-06-05 15:09:16 +08:00
Aaron
3b28a239e6
chore: update deps version (#5807) 2024-06-04 11:02:00 +08:00
Aaron
2cea1bcc01
docs: update docs (#5804)
* docs(site): add 3d manual, update feature

* chore: update dumi-theme-antv version

* docs: update docs
2024-06-03 17:19:47 +08:00
Aaron
576806e9ce
docs(site): add demos (#5802) 2024-06-03 14:46:38 +08:00
Yuxin
ac0490f38c
fix: fix the conflict issue of hover-element and drag-element (#5762)
* fix: fix behaviors collision

* fix: add script to generate doc at local

* fix: fix cr issue
2024-05-23 17:35:23 +08:00
Aaron
66a8f5be7d
docs(demo): add theme switch demo (#5752)
* fix: fix setBackground not effect

* docs(demo): add theme switch demo
2024-05-20 11:00:36 +08:00
Aaron
e91c817bd7
demo: add euro cup demo (#5746)
* fix(graph): fix some options not effect after setOptions

* fix: fix issue that backgound cannot display

* docs: add euro cup demo

* fix: fix issue that html node cannot correct fit view

* chore: add deps
2024-05-16 21:07:32 +08:00
xiaoiver
36e39e5582
fix: update to latest @antv/g (#5702)
* fix: use transform instead of x/y/z

* fix: use transform instead of x/y in label

* chore: remove site docs apis

* chore: remove incorrect snapshots

* fix: image & icon node

* fix: update to latest @antv/component

* fix: combo & plugin bubble set

* chore: update behavior snapshots

* fix: edge loop curve & combo

* chore: unit tests

* fix: animation

* chore: force update snapshots

* chore: update lasso snapshots

* chore: update deps

* chore: update to latest g & g2 deps
2024-05-15 13:00:22 +08:00
Aaron
508b64168b
chore: add deploy script, update dependencies version (#5735)
* chore(site): add deploy script

* chore: update dependencies
2024-05-14 00:12:03 +08:00
Aaron
06432a3904
chore(site): update deploy.yml, packages.json, tsconfig.json (#5733)
* refactor(site): fix clear doc script

* chore(site): update deploy.yml, packages.json, tsconfig.json
2024-05-13 16:56:48 +08:00
Aaron
454bc13e09
docs(site): update element examples (#5727)
* refactor(runtime): getElementDat -> getElementsDataByType, getElementsData -> getElementDataById

* fix(runtime): fix issue that unexpect edge ends

* chore: config site env

* docs(site): update element examples
2024-05-12 18:02:43 +08:00
Aaron
a0271bf2f1
docs(site): add animation examples (#5724)
* refactor(element): support disable animation in state animation

* chore: remove global.d.ts, update tsconfig

* refactor: update global script, add addPanel function

* docs: add animation examples
2024-05-10 21:50:34 +08:00
Aaron
1cee4a55da
fix: fix export and site (#5713)
* fix(behaviors): remove circular dependency

* chore(site): lock version of dumi up to 2.2.x
2024-05-09 11:29:50 +08:00
Yuxin
f0cbeba90a
docs: plugin api docs and demo (#5703)
* refactor: modify plugin comments

* docs: add plugin demos

* fix: fix ci
2024-05-07 20:43:47 +08:00
Aaron
45750f7790
docs: add documentation (#5695)
* refactor(site): adjust script

* feat(site): add script that can sort docs in specific folder

* docs: remove apis folder

* docs: add getting-started for chinese version

* docs: add core-concept for chinese version

* docs: add upgrade for chinese version

* docs: remove quick-start

* refactor(site): add createGraph global utils

* docs: add extension in core concept
2024-05-06 10:52:18 +08:00
Aaron
acf90c103d
feat(docs): add clear script, adjust docs structure (#5681)
* feat(site): add script that clear generated docs

* chore: adjust docs structure

* style(docs): config style of summary tag
2024-04-26 10:43:15 +08:00
Yuxin
bfbade2541
feat: generate behavior/plugin api docs by code annotations (#5669)
* refactor: extract api

* feat: generate behavior api docs by code annotations
2024-04-24 15:33:33 +08:00
Aaron
ea9cc6b4c0
docs: adjust docs structure, create docs template (#5670)
* docs: remove old docs

* docs: adjust example dir name

* feat: add script to create doc template

* docs: create site docs template

* docs: adjust api/element structure

* docs: adjust graph docs

* docs: adjust category naming
2024-04-23 15:56:29 +08:00
Aaron
f451672c7a
refactor: adapt antv dagre (#5578)
* refactor: adapt antv dagre

* chore: update @antv/layout version

* feat(layout): adapt dagrejs layout

* docs: add dagre demo
2024-03-22 16:35:34 +08:00
Yuxin
810f982719
feat: refine theme and add support background (#5538)
* refactor: support setting background

* docs: add theme demo

* test: update snapshots

* feat: palette field support callback

* test: update tests and snapshots

* fix: wordwrap set false

* fix: fix cr issues

* fix: animation field

* test: update test case and snapshots
2024-03-15 19:36:27 +08:00
Aaron
b7bbc29704
refactor: adjust project and add 3d extension package (#5497)
* refactor: remove g6-plugin-map-view and react-node

* refactor: adjust exports

* chore: update deps, use turbo to batch build

* feat(3d): init g6-extension-3d package

* chore: update turbo config

* refactor: fix cr issues
2024-03-05 19:13:37 +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
hustcc
b6fb51700d
chore: remove v2 util and tests for utils (#5357)
* chore: remove util v2 from map plugin

* chore: upgrade util to v3 in site

* test: add tests for utils/array

* test: add test case for bbox
2024-01-19 14:23:57 +08:00
hustcc
3c96d53d1e
refactor: utils and it's tests (#5356)
* refactor: use same console function

* test: add test case for math

* chore: fix lint

* test: fix ci
2024-01-19 09:58:10 +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
Yuxin
ced681f309
feat: api reference builder (#5347)
* feat: api reference builder

* chore: generate api docs before build site

---------

Co-authored-by: yvonneyx <banxuan.zyx@antgroup.com>
2024-01-17 09:28:57 +08:00
Aaron
3134e5cc6b
refactor: normalize files naming (#5304)
* refactor: normalize file naming
2023-12-29 15:58:03 +08:00
Aaron
cb7a763446
chore: optimize project configs (#5299)
* chore: optimize project configs
2023-12-28 11:05:09 +08:00
Aaron
85f969ba2a
docs: update upgrade docs (#5265)
* docs: update upgrade docs

* chore: update dumi-theme version, support scorll navigator
2023-12-13 15:38:45 +08:00
Aaron
cc68f81743
chore: update project lint staged config (#5256) 2023-12-12 10:53:57 +08:00
Aaron
d16d10c59e
chore: update versiont to publish (#5252) 2023-12-11 23:09:03 +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
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
Aaron
5fb846d152
chore: update version to 5.0.0 (#5174)
* chore: update version to 5.0.0

* chore: update version reference

* chore: update pnpm-lock file

* chore: update @antv/g6-plugin-map-view dependency reference
2023-11-22 12:34:15 +08:00
ai-qing-hai
7309e4118f chore: update dumi-theme-antv 2023-11-20 19:19:46 +08:00
Yanyan-Wang
23f66a04bf docs: add graph and data docs 2023-11-07 17:40:38 +08:00
Yanyan-Wang
b843ef601e fix: label update problem when fitView and fitCenter with animations; fix: badge shapes display 2023-10-26 12:34:45 +08:00
Chushen
d356a6b0a9 chore: fix: fix issue that site cannot start with pnpm and types problems 2023-10-11 14:45:20 +08:00
Chushen
acf450741c feat(docs): add custom g2 node demos 2023-10-11 13:37:08 +08:00
Yanyan-Wang
554b8b8bf3 fix: updateMapper with type change 2023-10-10 16:37:16 +08:00
Yanyan-Wang
fba9c158b1 fix: create-edge shouldBegin and shouldEnd 2023-10-10 11:51:20 +08:00
Yanyan-Wang
dbca9b43c7 docs: add map view demo 2023-10-08 14:50:16 +08:00
Yanyan-Wang
c8b204406c chore: update test baseline 2023-09-13 10:42:31 +08:00
yvonneyx
aadef7f171
add V5 site elements & interactions (#4896)
* docs: v5-site-elements

* docs: add interaction demos

* docs: add interaction demos

---------

Co-authored-by: yvonneyx <banxuan.zyx@antgroup.com>
2023-08-31 21:29:06 +08:00
yuqi.pyq
e8dd7704a5 fix: skip rendering label text if content is empty 2023-08-31 14:49:51 +08:00
pomelo
1099252812
Feat: Add API Docs (#4877)
* feat: update api-doc config

* feat: add doc input

* feat: update docs
2023-08-30 19:46:37 +08:00
Yanyan-Wang
504e969bb4 docs: add feature demos to site 2023-08-30 14:33:36 +08:00
pomelo
1eda86a093
V5 locale (#4870)
* feat: fix locale

* feat: update api doc
2023-08-29 18:39:28 +08:00