Aaron
9459b452fa
feat: add data controller ( #5382 )
...
* chore: use strict mode
* feat(utils): add isEdgeData util to judge edge data
* refactor(spec): edge data allow unset id
* feat(utils): add toGraphlibData, toG6Data utils
* feat(utils): add arrayDiff util
* feat(utils): add dfs util
* feat(types): add types about data
* feat(runtime): add adta controller
* refactor: fix issues that cause type errors
* refactor(runtime): remove data controller's dependency of graph
* refactor(runtime): adjust types definition place
* refactor(runtime): move mergeElementsData to utils folder and add test case
2024-01-28 21:23:19 +08:00
hustcc
9b6a66349b
feat: add badge shape ( #5378 )
...
* refactor: use antv util
* test: update label-shape test case
* feat: add badge ui, test case
* chore: fix import type
2024-01-26 17:51:21 +08:00
Aaron
4be279b522
feat: add basic shape ( #5377 )
...
* feat(utils): add parsePadding util
* feat(utils): add prefix utils
* feat: config dev env
* refactor(test): update test case context
* refactor(test): update layeredCanvas test case
* refactor(test): add background grid to help verifying
* feat(elements): add label shape
* refactor(tests): adjust integration test types definition
* test(label): add integraion of label
* test(animation): add animation test case
2024-01-26 15:58:55 +08:00
Aaron
4e11baeb51
feat(test): config integration test env and add modular canvas ( #5374 )
...
* feat(test): config integration test env
* feat(runtime): add modular canvas
* refactor(test): update snapshot naming rule
* chore(runtime): adjust variable naming
* chore(test): adjust folder naming
* refactor(runtime): remove unnecessary variable usage
2024-01-26 10:59:52 +08:00
Aaron
d48787e345
refactor(spec): adjust spec exports ( #5373 )
2024-01-25 21:56:59 +08:00
Aaron
64175c58c2
feat(spec): init spec definition ( #5371 )
2024-01-25 21:19:17 +08:00
Aaron
acbe71d2e5
test: add default test case
2024-01-25 16:06:27 +08:00
Aaron
3618d4a6e3
feat: create project structure
2024-01-25 16:02:05 +08:00
Aaron
46b0effda8
chore: create init exports
2024-01-25 15:32:14 +08:00
Aaron
2bf30cf2c6
chore: rename test folder
2024-01-25 15:31:45 +08:00
Aaron
707aa8abc0
chore: clear dependencies
2024-01-25 15:30:31 +08:00
Aaron
53a3a5341b
chore: clear workspace
2024-01-25 15:10:00 +08:00
hustcc
bb847876c3
feat: add autoResize option on graph ( #5362 )
...
* feat: add autoResize option on graph
* test: add test cases
2024-01-24 12:37:03 +08:00
Aaron
08de942823
refactor(spec): change mode to behaviors ( #5365 )
2024-01-23 20:48:53 +08:00
Aaron
a4aa09bc41
refactor(register): adjust getPlugins returns type ( #5363 )
2024-01-23 14:40:43 +08:00
Aaron
9f09fa4eef
refactor: adjust spec types ( #5364 )
...
* refactor(spec): remove io.ts
* refactor(spec): use plural naming convention
* refactor(types): use more readable generic types naming
* refactor(spec): adjust edge spec definition
* refactor(spec): support config default states in data style
2024-01-23 14:03:19 +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
hustcc
57400c0db0
docs: add v5 tips in readme ( #5350 )
2024-01-17 18:49:48 +08:00
hustcc
2526481019
chore: merge v5
2024-01-17 10:12:15 +08:00
hustcc
a066f6b043
chore: remove all files
2024-01-17 10:10:36 +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
hustcc
9ff0fd9944
fix: ci and remove issuehunt ( #5277 )
...
* fix: remove issue hunt
* chore: remote pnpm-lock file, and fix lint
* chore: update action
* chore: fix ci
* chore: remove coverall
2024-01-05 17:14:07 +08:00
Aaron
951114dd4e
chore: remove unit test case which in a state of disrepair ( #5310 )
...
* chore: remove unit test case which in a state of disrepair
* chore: update jest config
2024-01-02 16:06:03 +08:00
Aaron
3134e5cc6b
refactor: normalize files naming ( #5304 )
...
* refactor: normalize file naming
2023-12-29 15:58:03 +08:00
Aaron
2d02bdc0de
chore: update group number ( #5307 )
2023-12-29 14:46:34 +08:00
Aaron
267f8d705d
chore: update the community group number ( #5306 )
2023-12-29 14:43:16 +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
a37037bb15
fix: fix react node issues ( #5267 )
2023-12-13 16:51:03 +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
8120f59cc8
chore: update issue template ( #5264 )
2023-12-12 21:49:08 +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
5a243630d6
chore: update pnpm config ( #5255 )
2023-12-12 09:43:15 +08:00
Aaron
f6d3af3c1a
chore: update pnpm lock file ( #5254 )
2023-12-12 00:01:05 +08:00
Aaron
06406b10d4
chore: update map view peer denpendencies version ( #5253 )
2023-12-11 23:36:42 +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
hustcc
32c8d9864b
chore: fix readme typo ( #5250 )
2023-12-11 19:37:54 +08:00
hustcc
9a240ed5f3
docs: update readme, 5.0 is on the way ( #5249 )
2023-12-11 19:28:13 +08:00
Aaron
8c6157985e
chore: update CNAME of master branch ( #5246 )
2023-12-11 12:27:00 +08:00
Aaron
31c1052ec2
chore: add oscp template to master branch ( #5244 )
2023-12-09 17:33:21 +08:00
Aaron
369795bffb
chore: add auto close issue workflow on master branch ( #5243 )
2023-12-09 00:31:34 +08:00
Aaron
4d5c037005
chore: add auto close issue workflow ( #5242 )
2023-12-09 00:27:34 +08:00
Aaron
007e2c746a
chore: add oscp template ( #5239 )
2023-12-09 00:27:22 +08:00