Joel Alan
7ea9471a13
test: combo combined layout test ( #5535 )
2024-03-15 18:24:13 +08:00
hustcc
26ba38c75a
docs: add demo for gpu ( #5533 )
...
* docs: add demo for gpu
* chore: update edge style
2024-03-15 10:43:31 +08:00
Joel Alan
d410770e2d
test: dagre layout ( #5534 )
2024-03-14 21:43:11 +08:00
hustcc
b0804ab750
docs: add concentric demo ( #5531 )
...
* docs: add Concentric demo
* chore: remove unused config
* chore: fix cr
2024-03-14 20:02:32 +08:00
hustcc
bdc3a6cbeb
test: add fruchterman layout test ( #5530 )
...
* test: add fruchterman layout test
* docs: add fruchterman demo
* fix: eslint error
* chore: fix cr
* chore: remove unused code
* chore: fix cr
2024-03-14 19:43:53 +08:00
Joel Alan
f9b845a9da
chore: add radial layout demo ( #5532 )
...
* chore: add radial layout demo
* fix: conversation
* feat: update snapshots
* fix: ci
2024-03-14 19:42:30 +08:00
Joel Alan
095f7fc8b3
feat: circular layout demp ( #5528 )
2024-03-13 20:14:54 +08:00
Yuxin
d90d916454
docs: add polyline demos ( #5526 )
2024-03-13 14:45:23 +08:00
Yuxin
ede3c16a70
docs: add node port demo site ( #5522 )
...
* docs: add node port demo site
* fix: cr issues
2024-03-12 21:15:46 +08:00
Yuxin
52e9eeccd1
docs: add curve loop and polyline loop demos ( #5524 )
...
* docs: add curve loop and polyline loop demos
* refactor: node mapper supports callback
2024-03-12 21:02:26 +08:00
Aaron
d0c92d26b2
refactor: adjust element controller ( #5513 )
...
* refactor(runtime): element split draw to draw and computeDrawData
* feat(utils): add parentIdOf util
* refactor(runtime): element controller use data flow
* refactor(utils): toGraphlibData does a shallow copy
* refactor: base-shape set visibility, setVisibility support keep raw attributes
* refactor(runtime): refactor element controller, merge runtime style into model
* test: update test case and snapshots
* test(elements): add test case and snapshots
* chore(site): update site demo
* refactor(runtime): add syntax sugar for runtime api
* test: remove layout case demo
* refactor(animation): recover to enter, exit animation stage
* refactor(runtime): add frontElement, backElement api
* refactor(runtime): add showElement, hideElement API
* refactor(behaviors): drag-node adpat new api
2024-03-12 10:49:12 +08:00
Yuxin
9646b6fc4d
docs: add cubic vertical and cubic horizontal demos ( #5518 )
2024-03-11 22:35:21 +08:00
Yuxin
1ba0f7f601
docs: add quadratic and cubic demos ( #5517 )
...
* docs: add quadratic and cubic demos
* fix: cr issues
2024-03-11 22:35:07 +08:00
Yuxin
acd154f22d
feat: set node ports without rendering graphics ( #5509 )
...
* feat: set node ports without rendering graphics
* refactor: optimize port style
* test: add ut
2024-03-11 16:14:38 +08:00
hustcc
2fb69fcecc
docs: add layout mds demo and test case ( #5510 )
...
* docs: add layout mds demo and test case
* chore: fix ci
2024-03-08 18:41:00 +08:00
hustcc
b1f6a56462
docs: add layout grid demo and test cases ( #5507 )
...
* docs: add grid layout and test case
* chore: remove unused code
* chore: rename position to placement
* chore: remove grid sortBy label
2024-03-08 18:09:25 +08:00
Yuxin
0d383f8254
refactor: rename position to placement ( #5508 )
...
* refactor: rename position to placement
* docs: rename position to placement
2024-03-08 16:47:53 +08:00
hustcc
596b1030e2
docs: add element label background ( #5506 )
...
* docs: add element label background
* test: fix ci
* test: make layout test can work
* chore: fix cr
2024-03-08 12:25:25 +08:00
hustcc
a5f887908b
docs: add oversized label demo ( #5505 )
...
* docs: add oversized label demo
* docs: add copy label demo
* docs: update label text wordWrap
* docs: use clipboard API
* test: add test for element label oversized
2024-03-08 10:20:05 +08:00
Joel Alan
cb9f274a36
chore: opt the layout of force-directed graph ( #5484 )
...
* chore: opt the layout of force-directed graph
* fix: resolve conversation
2024-03-07 20:20:09 +08:00
hustcc
5a3e6c9e60
docs: add diamond, image demo ( #5501 )
...
* docs: add diamond, image demo
* chore: fix code review
2024-03-07 17:01:11 +08:00
Cee
21d5e4694d
feat(shape): add diamond node ( #5431 )
...
* fix: contextmenu event emit (#5380 )
Co-authored-by: 宋鹏捷 <songpengjie@abtnetworks.com>
* feat: diamond node
* test: rerun unit test of diamond node
* chore: remove lineWidth offset
* test(diamond): add diamond test demo
* chore: remove backup file
* chore: add any type
* fix: fix ci error
* fix: add site demo
* test: add diamond utils unit test
* chore: remove old version unit test
* fix: remove scripts && fix ci
---------
Co-authored-by: Song Pengjie (宋鹏捷) <spengjie@sina.com>
Co-authored-by: 宋鹏捷 <songpengjie@abtnetworks.com>
2024-03-06 08:50:36 +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
Yuxin
e802349d81
docs: add build-in and custom arrows demos ( #5477 )
...
* refactor: simplify arrow size setting
* test: add buildin and custom arrows tests
* docs: add arrows site demos
* test: add arrow snapshots
2024-02-28 12:34:24 +08:00
omahs
7539c3eb99
docs: fix typos ( #5476 )
...
* fix typos
* fix typo
* fix typos
* fix typos
2024-02-27 21:07:36 +08:00
Yuxin
634d5960f4
feat: add light and dark theme; node supports new badgePalette
attribute ( #5467 )
...
* feat(node): support new badgePalette attribute
* feat: add light theme and dark theme;update demo and test panel
* refactor(site): update site demos
* refactor: rename disable to disabled
* refactor: rename disable to disabled
---------
Co-authored-by: Aaron <yangtao.yangtao@antgroup.com>
2024-02-26 15:45:59 +08:00
Yuxin
491838604a
docs: add line demo ( #5464 )
...
* docs: add line demo
* test: update test snapshots
* test: add unit tests
* fix: fix cr issues
* fix: fix cr issues
2024-02-23 10:50:05 +08:00
hustcc
75906453f1
docs: add ellipse, star demo ( #5457 )
...
* docs: add ellipse demo
* feat: calculate icon size by key shape attribute
* chore: add ICON_SIZE_RATIO constant
2024-02-22 15:59:46 +08:00
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
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
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
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
hustcc
dbfa80675d
chore: remove unused files ( #5274 )
...
* chore: remove rfc template
* chore: remove issue hunt
* chore: remove pnpm lock file
* chore: rename action file
* chore: remove pnpm-workspace.yaml from .gitignore
* chore: remove issue hunt action
2023-12-14 21:16:50 +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
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
151a5761db
docs: update g6 version and react-node usage ( #5260 )
2023-12-12 14:52:07 +08:00
Aaron
96016b54b4
docs: update g6 umd link ( #5258 )
2023-12-12 12:34:15 +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
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
drl990114
a18d168120
feat: migrating bundling plugin to v5 ( #5116 )
...
* feat: migrating edge bundling plugin to v5
2023-12-08 20:32:08 +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
Aaron
3534d4669b
docs: adjust docs of data ( #5211 )
...
* docs: adjust docs of data
* docs: update api docs
2023-12-01 17:44:49 +08:00
Aaron
48308e0bd9
chore: config v5 deploy workflow ( #5204 )
2023-11-29 11:10:19 +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
Aaron
a2e59c9ac9
docs: update graph instance methods docs ( #5203 )
2023-11-29 10:51:32 +08:00
Yanyan-Wang
728ed1d69c
fix: combo ancestor update problem
2023-11-22 12:55:56 +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
Yanyan Wang
c770297fad
fix: transforms should not be executed when update positions ( #5177 )
2023-11-22 11:39:29 +08:00
yvonneyx
62bab14689
docs: complete docs of custom node,edge,combo ( #5171 )
...
* docs: update docs of extension list
* docs: complete docs of custom node,edge,combo
* docs: remove node edge extension
---------
Co-authored-by: yvonneyx <banxuan.zyx@antgroup.com>
2023-11-22 10:36:13 +08:00
Aaron
eb7fbb41cc
docs: format api/layout docs ( #5166 )
...
* docs: format api/layout docs
* docs: translate CentripetalOptions doc
2023-11-22 10:22:30 +08:00
ai-qing-hai
3e85ff294d
docs: image position
2023-11-21 17:50:46 +08:00
MiniPear
eb2777a2c3
Merge pull request #5170 from antvis/fix-dumi-buttons
...
fix: dumi buttons
2023-11-21 15:03:03 +08:00
yvonneyx
15d41fbe94
docs: add docs of custom data tramsformer and theme; format docs of items api ( #5169 )
...
* docs: add Custom Theme Extension
* docs: add custom transform tutorial
* docs: format docs of items (nodes, edges, combos)
---------
Co-authored-by: yvonneyx <banxuan.zyx@antgroup.com>
2023-11-21 14:56:48 +08:00
ai-qing-hai
e097346533
fix: dumi buttons
2023-11-21 14:39:17 +08:00
ai-qing-hai
7309e4118f
chore: update dumi-theme-antv
2023-11-20 19:19:46 +08:00
Aaron
ef337861df
docs: format docs of behaviors, plugins, shape and common ( #5164 )
2023-11-20 17:11:49 +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
Chushen
5a275c9fbd
docs: update demo links
2023-11-13 14:09:28 +08:00
Chushen
c1dad008ef
docs: add plugin demos link
2023-11-13 14:06:28 +08:00
Chushen
d67b6db15a
docs: delete useless plugins docs
2023-11-13 14:02:43 +08:00
Chushen
71780c0e3b
docs: adjust plugins docs arrangement
2023-11-13 13:52:57 +08:00
Chushen
293abb63d2
docs: update rest part of plugin docs
2023-11-13 13:52:57 +08:00
Chushen
4d3a44a75b
docs: update part of plugins docs
2023-11-13 13:52:57 +08:00
Chushen
7bb7e743d6
docs: update behaviors order
2023-11-13 13:42:36 +08:00
Chushen
be1e8c975c
docs: add demo links
2023-11-13 13:41:40 +08:00
Chushen
303afb671c
docs: delete useless docs
2023-11-13 13:37:55 +08:00
Chushen
fe9353a83d
docs: adjust arrange of behaviors docs
2023-11-13 13:04:25 +08:00
Chushen
cc4d2ec779
docs: update rotate canvas 3d
2023-11-13 13:04:25 +08:00
Chushen
407a301431
docs: update rest part of docs of behaviors
2023-11-13 13:04:25 +08:00
Chushen
92e548c28a
docs: adjust IG6GraphEvent types
2023-11-13 13:04:25 +08:00
Chushen
451dbb33d5
docs: update part of behaviors
2023-11-13 13:04:25 +08:00
Yanyan Wang
a022062775
Merge pull request #5133 from antvis/docs/shape
...
docs: update api shape docs
2023-11-13 12:54:35 +08:00
Chushen
0b97d1f2e3
docs: fix sphere geometry docs
2023-11-10 22:22:21 +08:00
Chushen
80ab4ae9fb
docs: update chinese docs title
2023-11-10 22:19:40 +08:00
Chushen
6c24f2003f
docs: remove node style props
2023-11-10 22:12:24 +08:00
Chushen
70daaf85c2
docs: set orders
2023-11-10 22:11:33 +08:00
Chushen
7ce6ed2ea3
docs: adjust base style doc
2023-11-10 22:02:00 +08:00
Chushen
90a769ec78
docs: update node shape docs
2023-11-10 22:00:54 +08:00
Chushen
10bec78e0c
docs: update cube, plane, sphere, torus geometry docs
2023-11-10 21:13:53 +08:00
Chushen
53f995ba95
docs: adjust common docs
2023-11-10 20:58:48 +08:00
Chushen
08bb287f9e
docs: update image, path, polygon, polyline, rect shape docs
2023-11-10 19:36:05 +08:00
Chushen
23c1bfd40e
docs: update base, circle, ellipse, line shape docs
2023-11-10 18:51:21 +08:00