Commit Graph

24 Commits

Author SHA1 Message Date
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
8160df7201
fix(animation): fix preprocessKeyframes (#5981)
* fix(animation): fix preprocessKeyframes

* chore: update workflow
2024-07-04 16:18:06 +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
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
Song Pengjie (宋鹏捷)
8af3cf0bb0
feat: add image node (#5417)
* fix: contextmenu event emit (#5380)

Co-authored-by: 宋鹏捷 <songpengjie@abtnetworks.com>

* feat: add image node

* fix: remove empty method

* fix: remove fill color for image node

* feat: add image node

* test: update image node snapshot

* test: update controller viewport snapshot

* fix: update unit test and fix bugs for image node

* fix: fix code review issue

* fix: remove console.log

* fix: fix code review issue

* ci: add ci for pull request

* fix: add getIconStyle for image node

* fix: fix ci issue and code review issue

---------

Co-authored-by: 宋鹏捷 <songpengjie@abtnetworks.com>
2024-02-22 18:48:34 +08:00
hustcc
134dfb9e43
test: add coverage (#5388)
* chore: add coverage action

* docs: update readme add badge
2024-01-30 10:46:29 +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
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
xiaoiver
989051ef08
chore: use jsdom in screenshot (#5201)
* chore: use jsdom in screenshot

* chore: yaml syntax error

* chore: migrate more test cases

* chore: migrate more test cases
2023-11-29 14:24:26 +08:00
pomelo-nwu
a685b87b67 chore: update ci 2023-08-24 19:09:11 +08:00
yvonneyx
253be0d729 Merge remote-tracking branch 'origin/v5' into feat/edge-polyline 2023-08-24 16:45:26 +08:00
pomelo-nwu
95a7a8e5e6 ci: add cache id 2023-08-24 15:53:54 +08:00
pomelo-nwu
286b4d6aac feat: update ci 2023-08-24 15:47:03 +08:00
pomelo-nwu
42b84b84ed feat: update ci 2023-08-24 15:44:35 +08:00
pomelo-nwu
a5c0c6126f feat: update ci 2023-08-24 15:15:58 +08:00
pomelo-nwu
cc7954c241 feat: update ci 2023-08-24 15:11:28 +08:00
pomelo-nwu
5f17701b0e chore: update ci 2023-08-24 14:57:07 +08:00
pomelo-nwu
1a201ec8e5 chore: update ci 2023-08-24 14:42:04 +08:00
pomelo-nwu
8717256c87 feat: update ci 2023-08-24 14:37:11 +08:00
Yanyan Wang
c01a1e1aae
feat: rect type combo and its behaviors (#4844)
* feat: rect combo

* feat: behaviors for rect combo

* chore: lint

* chore: update lock file up to date

* chore: refine lock file

* chore: update workflows

* feat: comboCombined layout

* chore: update layout

* chore: update lock

* chore: refine
2023-08-24 14:08:15 +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
hustcc
4040c6d463
chore: make library build work (#4388)
* chore: make library build work

* chore: fix type define error

* test: fix lint error

* chore: update github action

* chore: fix typo
2023-04-20 18:01:52 +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