Commit Graph

48 Commits

Author SHA1 Message Date
antv
96b9d71c20 chore: config build options 2024-10-30 19:34:54 +08:00
Yuxin
98f7d39c97
chore: update dep versions (#6452) 2024-10-29 20:09:54 +08:00
Aaron
56a87d2bd7
refactor: adapt g optimization (#6431)
Co-authored-by: antv <antv@antfin.com>
2024-10-28 10:15:59 +08:00
Aaron
35687e9ecb
chore: update site config and deps version (#6420)
Co-authored-by: antv <antv@antfin.com>
2024-10-18 17:43:21 +08:00
Yuxin
e3a32ffa05
feat: add performance diagnosis flowchart demo (#6289)
* feat(polyline): ensure correct orthogonal routing with ports

* chore: rename decision tree to fund flow

* feat: add performance diagnosis demo

* refactor: expose hover-activate getActiveIds function

* feat: add flowchart demo

* fix: fix ci issues

* refactor: performance diagnosis demo
2024-09-06 17:41:31 +08:00
Aaron
5203d148aa
perf: fix report name to avoid error in ntfs system (#6276)
Co-authored-by: antv <antv@antfin.com>
2024-09-05 10:46:03 +08:00
Aaron
1657420ec8
chore: update deps version and disable mako compress (#6262)
* chore: update deps version and disable mako compress

* chore: lock version of @umijs/mako

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-04 11:25:29 +08:00
Aaron
b00ec104f8
feat: add demo about why do cats (#6259)
* test: add demo of why do cats

* docs: add site demo

* docs: add demo ref

---------

Co-authored-by: antv <antv@antfin.com>
2024-09-02 10:02:43 +08:00
Aaron
2c21154855
perf: optimize element dependencies effect trace performance (#6249)
* perf: add baseline performance report

* perf: optmize effect performance

* perf: generate performance report

* test: update test demo

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-29 19:45:33 +08:00
Aaron
9f369238ee
perf: update iperf version and generate new report (#6229)
Co-authored-by: antv <antv@antfin.com>
2024-08-22 20:57:47 +08:00
Aaron
fa31e963ec
test: config perf test env, add perf test case and report (#6194)
* test: config perf test env, add perf test case

* test(perf): add perf test report

* chore: update lint stage for json and md

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-21 11:54:48 +08:00
Aaron
7ce727aacd
chore: update version (#6129)
* chore: update deps version

* chore: update version

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-06 10:53:39 +08:00
Aaron
5016fe2bcc
feat(plugins): add minimap plugin (#6103)
* feat(event): before draw, after draw will info whether to be render

* feat(plugins): add minimap plugin

* refactor(plugins): add container style

* refactor(plugins): remove DOMRect, add renderer option

* test: adjust minimap demo

* chore(test): config playwright test env

* test(plugins): add test case for minimap

* chore: update test config

* refactor: remove useless comment

---------

Co-authored-by: antv <antv@antfin.com>
2024-08-02 10:07:28 +08:00
Aaron
d45429ab3f
chore: config project (#6065) 2024-07-19 19:09:17 +08:00
Aaron
2a7c953c62
chore: adjust release pr workflow (#6044)
* chore: adjust workflow and add publish doc

---------

Co-authored-by: antv <antv@antfin.com>
2024-07-16 17:41:04 +08:00
Aaron
36b9c6b4c3
chore: update husky and add release workflow (#6041)
* chore: update husky

* chore: update github workflows

* chore: update scripts

* chore: fix workflow
2024-07-16 15:35:47 +08:00
Yuxin
5b993b007d
chore: update deps (#6035) 2024-07-15 15:12:39 +08:00
Aaron
0248c9c940
chore: config changeset, update version (#5930)
* chore: config changeset

* chore: fix cli deps version

* chore: add publish script

* chore: update version, add changelog

* chore: update changeset config

* chore: update publish script

* chore: update g6-cli

* chore: update version before publish
2024-06-25 15:28:14 +08:00
Aaron
6c74961f30
chore: add tslib dev deps (#5883) 2024-06-18 21:05:41 +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
7ff8004fe1
docs: update behavior examples (#5729)
* docs: update behavior examples

* chore: add ts-node to devDependencies
2024-05-13 14:50:21 +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
Frank William
a0d6cfe7a5
feat(behaviors): add brush-select, add lasso-select (#5623)
* feat(behaviors): add brush-select

* feat(behaviors): add lasso-select/brush-select

---------

Co-authored-by: wb-xcf804241 <wb-xcf804241@alibaba-inc.com>
2024-04-12 14:03:07 +08:00
Aaron
155a0bb86d
chore: add script to help checkout contributor branch (#5610) 2024-04-03 12:03:22 +08:00
Aaron
6425dbcba3
test: adjust test structure (#5607)
* chore: use swc/jest replace ts-jest

* test: adjust test env and cases

* chore: remove prettier to format snapshot

* test: update snapshots

* chore: adsjut test case

* refactor: optmize canvas destroy

* test: use xml-formatter to format snapshots

* test: add toMatchAnimation matcher

* test: add createGraph util

* test: adjust test demo and types

* test: update test case and snapshots

* chore: rename cases folder to unit
2024-04-02 19:13:53 +08:00
Aaron
da5297cd8c
feat: add 3d elements, plugin (#5597)
* refactor: adjust exports, use enum replace const enum

* fix: fix issue that unexpected z attr

* feat(utils): add TupleMap and getCacheKey

* feat(elements): add 3d elements

* feat(plugins): add 3d light

* refactor: adjust 3d renderer

* refactor: adjust exports

* test: add demos

* chore: config packages.json, jest config

* test: fix test case

* chore: update g6-extension-3d version

* chore: setup project configs

* test: fix demo type issue

* chore: config tsconfig for type-check
2024-03-29 11:57:10 +08:00
Aaron
1885a29c26
chore: add tag script (#5588) 2024-03-25 11:15:10 +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
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
Joel Alan
948f868912
fix: dev scripts (#5482) 2024-03-05 15:17:50 +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
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
cb7a763446
chore: optimize project configs (#5299)
* chore: optimize project configs
2023-12-28 11:05:09 +08:00
Aaron
cc68f81743
chore: update project lint staged config (#5256) 2023-12-12 10:53:57 +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
48308e0bd9
chore: config v5 deploy workflow (#5204) 2023-11-29 11:10:19 +08:00
yuqi.pyq
4587c4d5e1 chore: lint plugin legend 2023-08-31 15:36:15 +08:00
Yanyan Wang
c4e87ad97c
feat: anchor points and shapes for node (#4829)
* feat: anchor points and shapes for node

* feat: arrows for edge

* chore: lint

* chore: update lock file up to date
2023-08-25 10:25:57 +08:00
Yanyan Wang
4cbdce93fa
Revert "V5 donut" 2023-08-24 10:17:57 +08:00
xiaoiver
73bd1fed41
feat: use serverside rendering for integration tests (#4793)
* feat: use serverside rendering for integration tests

* chore: extend svg & webgl matchers for jest

* chore: interactive events can be triggerred in test case now

* chore: increase timeout

* chore: skip WebGL snapshot for now

* chore: support animation snapshot in test case

* chore: DOM API can be used in test case

* fix: make graph.getItemById private
2023-08-10 10:22:51 +08:00
Yanyan Wang
62ecbca00c
feat: combo rendering and behaviors (#4739)
* feat: combo rendering and interactions

* chore: refine

* chore: refine

* feat: frontItem backItem api for graph; feat: animations for combo

* chore: refine

* chore: remove unnecessary calls

* chore: remove buildIn animates exclusions

* chore: typo

* chore: type problems

* chore: import path

* chore: refine

* fix: zindex adjustment without combo tree structure

* chore: lint
2023-08-01 11:31:48 +08:00
Yanyan Wang
1cd6c9d2c3
feat: a demo for v5 and fix several bugs, details are in commits (#4553)
* feat: demo

* chore: refine demo

* chore: refine demo

* perf: demo with themes

* perf: demo with webgl renderer

* feat: add 3d layout demo

* fix: state style affect size of node incorrectly

* feat: support text in 3D scene

* fix: conflict between behaviors; fix: animate problems; fix: zoomStrategy for individual nodes

* chore: rename zoomStrategy to lodStrategy

* chore: refine demo

* chore: demo refine

* chore: type templates problems

* chore: lint

* chore: refine

* feat: constrain the range of zoom-canvas-3d

* chore: refine

* chore: remove unecessary notes

---------

Co-authored-by: yuqi.pyq <yuqi.pyq@antgroup.com>
2023-05-31 18:25:02 +08:00
pomelo
bf06ee1378
feat: activate relations (#4380)
* chore: fix typing to support vite

* feat: Add browser-side integration testing

* feat: add activate-relations behaviros

* feat: update typing

* feat: add activate-relations logic

* feat: add typing

* feat: add demo

* feat: update demo

---------

Co-authored-by: pomelo.lcw <pomelo.lcw@antgroup.com>
Co-authored-by: pomelo-nwu <czynwu@gmail.com>
2023-04-10 12:01:26 +08:00
hustcc
ae95e92140
refactor: remove unused files, and add husky and commitlint (#4383)
* refactor: remove unused files, and add husky and commitlint

* test: add github action
2023-03-23 20:43:53 +08:00
xiaoiver
0f23a181db
V5 layout (#4308)
* feat: unified datachange from changeData, addData, updateData, and removeData; feat: item definition and first drawing

* feat: update canvas while addData; feat: update canvas while updateData (node); chore: unified additems, removeitems, updateitems to be itemchange hook

* feat: init layout controller

* feat: node and edge updating and drawing

* chore: neaten

* feat: draw and update labels for node and edge

* feat: icon for edge; feat: custom node and edge and register to lib

* feat: init layout controller

* fix: use latest g-webgl

* feat: layout controller should support  &  option

* fix: registry typo & add custom layout test case

* feat: state related API for graph and item

* chore: update notes

---------

Co-authored-by: Yanyan-Wang <yanyanwang93@gmail.com>
2023-03-01 14:45:57 +08:00
Yanyan Wang
dce8ec70b8 feat: hooks for graph; feat: data and interaction controllers for the… (#4189)
* feat: hooks for graph; feat: data and interaction controllers for these two types of extensions

* chore: format notes

* perf: types refine

* feat: graph behavior apis

* feat: item and its controller

* feat: init Node Edge and Combo item

* feat: init layoutm theme, extension controllers

* feat: init Graph class

* feat: add gymnastics for behavior

* chore: behavior type generic refine

* chore: refine

* feat: complete hooks list
2023-02-02 10:32:01 +08:00
Yanyan-Wang
3095544cdf chore: commit history cleaning 2023-02-02 10:31:36 +08:00