Commit Graph

5034 Commits

Author SHA1 Message Date
yvonneyx
ae3de70c38 test: update snapshots 2024-05-15 14:47:35 +08:00
yvonneyx
23d016ce34 fix: fix connection misalignment problem 2024-05-15 14:30:39 +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
66aa63c9b2
docs(site): update doc hyperlinks (#5737) 2024-05-14 16:05:41 +08:00
Aaron
225872cd22
chore(g6): set deps version to specific (#5736) 2024-05-14 00:12:20 +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
80285fa43a
refactor: update site examples (#5731)
* refactor(site): remove unavailable part examples

* refactor(docs): update plugin examples

* refactor(docs): update algorithm examples

* chore(site): update dumirc
2024-05-13 15:16:03 +08:00
Aaron
7ff8004fe1
docs: update behavior examples (#5729)
* docs: update behavior examples

* chore: add ts-node to devDependencies
2024-05-13 14:50:21 +08:00
Aaron
352b5ba1c6
docs(site): update layout examples (#5728)
* refactor: adjust layout api and exports

* chore: update deploy actions

* docs(site): update layout examples
2024-05-13 10:27:15 +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
3659e7d1a0
fix(runtime): fix incorrect combo connect (#5726)
* refactor(runtime): getElementDat -> getElementsDataByType, getElementsData -> getElementDataById

* fix(runtime): fix issue that unexpect edge ends
2024-05-11 21:56:03 +08:00
Aaron
fdb519f813
refactor(runtime): getElementDat -> getElementsDataByType, getElementsData -> getElementDataById (#5725) 2024-05-11 21:52:22 +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
Yuxin
f2257fea88
fix: fix demo flex layout (#5723) 2024-05-10 19:24:01 +08:00
Aaron
8cd41ee647
fix: fix animation and theme (#5718)
* fix(spec): migrate missed states changes

* refactor: use fillOpacity, strokeOpacity to replace inherited opacity

* refactor: adjust inherited style logic

* feat: support badges and ports animation

* test: update test case and snapshots
2024-05-10 18:12:31 +08:00
Yuxin
ef1eaf6a54
docs: add data api (#5722) 2024-05-10 18:03:04 +08:00
Yuxin
ad30bd97d2
docs: add element api interactive demos (#5719)
* docs: add element api interactive demos

* fix: fix cr issues

* refactor: adjust locales in docs
2024-05-10 14:29:40 +08:00
Aaron
80ed0b9cc3
docs: perfect manual docs (#5710) 2024-05-10 11:17:08 +08:00
Wang Hongfei
07474e024d
feat(site): add algorithm/gaddi demo (#5711)
* feat: add algorithm/gaddi demo

* feat: add algorithm/shortestPath demo

* feat: adjust examples/algorithm structure & add label-propagation demo

* feat: add algorithm/louvain demo

---------

Co-authored-by: whf01206399 <whf01206399@antgroup.com>
2024-05-09 21:25:49 +08:00
Yuxin
07c77eeb2d
docs: impove behavior comments and add api interactive demos (#5715)
* docs: add reference page title

* docs: refine behavior api interactive demos
2024-05-09 20:29:40 +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
Aaron
c4eace4975
refactor: adjust element spec (#5712)
* fix(transforms): fix arrange draw order that handle update combo

* refactor(spec): move states, children, parentId to upper level
2024-05-09 10:04:27 +08:00
Yuxin
529a5ad246
refactor: focus-element, lasso-select, brush-select behavior (#5707)
* refactor: focus-element behavior

* refactor: lasso select, brush select

* fix: remove unnecessary utils
2024-05-08 17:04:47 +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
76908bb717
refactor: propose G6 layout standard and adapt antv/layout (#5704)
* feat(utils): add layoutMapping2GraphData and layoutAdapter

* refactor(layout): refactor layout controller to use G6 layout std, adapt antv/layout

* test(layout): add demo and test case that custom layout

* test: fix test case

* test: add test coverage

* test: add iterative layout demo

* refactor(layout): extract invoke and get from base layout class
2024-05-07 19:55:09 +08:00
Wang Hongfei
2055e568b1
chore: add some doc api for behaviors (#5697)
* chore: add some doc api for behaviors

* fix: cr issues

---------

Co-authored-by: whf01206399 <whf01206399@antgroup.com>
2024-05-07 14:06:36 +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
Yuxin
71fed76616
refactor: adjust element types (#5693)
* refactor: adjust types

* docs: add comments

* refactor: reorganize api directory structure

* docs: refine element docs
2024-04-30 15:42:11 +08:00
Yuxin
7cc8278fc1
feat(doc-pipeline): add scripts to generate element api docs (#5685)
* feat: generate edge api docs

* feat: generate node,combo style props docs

* refactor: doc pipeline

* docs: remove reference index.md
2024-04-29 17:13:33 +08:00
Wang Hongfei
298227ea1f
chore: add some doc api for plugins (#5684)
* chore: add some doc api for plugins

---------

Co-authored-by: whf01206399 <whf01206399@antgroup.com>
2024-04-29 13:33:20 +08:00
Aaron
eaf956b8d3
chore: update version to beta.35 (#5689) 2024-04-29 10:18:07 +08:00
Frank William
9cf0677773
feat(plugins): add timebar (#5666)
* feat(plugins): add timebar

* refactor: adjust timebar component

---------

Co-authored-by: wb-xcf804241 <wb-xcf804241@alibaba-inc.com>
Co-authored-by: Aaron <yangtao.yangtao@antgroup.com>
2024-04-28 17:00:01 +08:00
Aaron
6986bb61b7
refactor(behaviors): adjust scroll-canvas (#5686) 2024-04-28 13:44:01 +08:00
jiangyu
d4891f7e8a
feat: add scroll-canvas behavior (#5606)
* feat: add scroll-canvas behavior

---------

Co-authored-by: liujiangyu <liujiangyu@kuaishou.com>
2024-04-28 10:28:14 +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
Aaron
63261258cf
refactor: emit graph destroy event (#5680) 2024-04-25 19:10:18 +08:00
Yuxin
5028413d0f
chore: add auto-generated doc files to .gitignore (#5679)
* refactor: remove placeholder files

* chore: add auto-generated files to .gitignore

* feat: api method list support remarks tag
2024-04-25 16:17:41 +08:00
Yuxin
1dcbfee1b2
feat(doc-pipeline): add scripts to generate graph api docs (#5678)
* feat: add scripts to generate graph api docs
2024-04-25 12:50:23 +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
45b21ebf4f
refactor: remove color usage (#5675) 2024-04-24 10:07:12 +08:00
Aaron
1107f206f4
fix: fix setNode/setEdge/setCombo not effect, getRenderBounds not correct (#5674)
* refactor(test): format mismatch message

* fix: fix issue that setNode/setEdge/setCombo not effect

* fix: avoid to use getRenderBounds
2024-04-23 22:09:43 +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
Frank William
187a86d993
fix(graph): width,height bug fix (#5672)
Co-authored-by: wb-xcf804241 <wb-xcf804241@alibaba-inc.com>
2024-04-23 15:53:36 +08:00
Aaron
b8a8b15d09
refactor: rename G6Spec to GraphOptions (#5673) 2024-04-23 15:52:56 +08:00
Yuxin
57317d49a3
feat: add BubbleSets plugin (#5653)
* refactor: extract contour shape

* feat: bubble sets

* test: add bubble-sets demo
2024-04-23 10:46:56 +08:00
Aaron
ce3c064943
chore: adjust umd name (#5668) 2024-04-22 18:17:44 +08:00
Aaron
d78863beee
refactor: adjust exports and api (#5665)
* refactor: adjust exports

* refactor: adjust collapse and expand api

* refactor: adapt export adjust
2024-04-22 14:04:35 +08:00
Aaron
7c901a5525
chore: update version to 5.0.0-beta.34 (#5667) 2024-04-22 14:03:49 +08:00
Frank William
895955435d
feat(element): add donut (#5645)
* feat(element): add donut

---------

Co-authored-by: wb-xcf804241 <wb-xcf804241@alibaba-inc.com>
Co-authored-by: Aaron <yangtao.yangtao@antgroup.com>
2024-04-19 10:58:13 +08:00