yvonneyx
dce6fa34ad
feat: generate node,combo style props docs
2024-04-28 18:55:04 +08:00
yvonneyx
5617f6ce91
feat: generate edge api docs
2024-04-26 17:53:00 +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
Aaron
7efd20eb79
refactor: move type config to element.type ( #5661 )
...
* refactor: redefine type of id
* refactor: move type config
2024-04-18 23:06:58 +08:00
Aaron
54bc5f98e0
fix: fix issue appearing when export data url ( #5658 )
...
* refactor: demo panel support search
* fix: fix exported image lost background
* fix: fix issue that image not load when export image
2024-04-18 14:37:03 +08:00
Aaron
79c18aa59d
feat: add HTML node, g node, react node ( #5654 )
...
* feat(elements): add html node
* fix: fix issue that unexpected invoke sequence cause exception
* refactor: adjust exports
* feat(react): create g6-extension-react
* test: update test case
* chore: update dependencies
* fix: fix cr issue
* chore: adjust jest config
2024-04-18 10:05:05 +08:00
Aaron
b8c2f609cd
chore: updater version to 5.0.0-beta.33 ( #5650 )
2024-04-17 09:32:40 +08:00
Aaron
65425ea406
refactor: toDataURL support export overall mode ( #5648 )
...
* feat(canvas): toDataURL support by overall graph
* test: update snapshots
* test: add test case
* refactor: adjust code
2024-04-16 21:29:21 +08:00
Aaron
cd073f7e23
fix: fix types of elements ( #5649 )
2024-04-16 20:57:20 +08:00
Aaron
d682460a22
fix(graph): fix issue that toDataURL export blank image ( #5647 )
...
* fix(graph): fix issue that toDataURL not correct
* test: remove id from svg snapshots
2024-04-16 15:39:38 +08:00
Yuxin
0c58b627dd
feat(transform): process parallel edges (bundle, merge) ( #5643 )
...
* feat: bundle parallel edges
* test: add parallel edge unit tests
* docs: add parallel edges site demo
* refactor: modify timing of clearing data change
* fix: fix hover parallel edges issue
* feat: merge parallel edges
* fix: incorrect arrow of merging parallel edges
2024-04-16 01:03:39 +08:00
Aaron
c333d24c0b
test: add demo that use imported svg as node icon ( #5646 )
...
* test: add demo that use imported svg as node icon
* chore: config svg transform
2024-04-16 00:59:40 +08:00
Yuxin
07bbc6a4f2
feat(runtime): add transform controller ( #5641 )
...
* feat(runtime): add transform controller
* test: add unit test
* refactor: rename
2024-04-15 10:49:22 +08:00
Yuxin
fad00f57fc
feat: add click-element behavior ( #5636 )
...
* feat: add click-element behavior
* test: add click-element unit tests
* docs: add site demo
* test: update snapshots after deps update
* test: contextmenu unit test
2024-04-12 15:05:06 +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
Yuxin
09a62abc38
feat: hull plugin (convex hull, concave hull) ( #5626 )
...
* feat: hull
* feat: hull label and dynamically change options
* feat: hull supports convex and concave hull
* docs: site demo
* test: add unit tests
* test: fix ci issues
* chore: update deps
* fix: fix cr issues
* test: contextmenu unit test
* test: update snapshots
2024-04-11 20:43:33 +08:00
Yuxin
62535be333
feat: history plugin ( #5605 )
...
* feat: base history plugin
* feat: mount history api to graph
* test: history unit and integration test
* refactor: simplify compute draw data
* test: update snapshots
* feat: history event emitter and site demo
2024-04-11 18:49:18 +08:00
Aaron
50ec5d8ef5
refactor: adapt new d3 force and d3 force 3d layout ( #5635 )
...
* feat(palettes): add tableau palette
* refactor(runtime): remove presetLayout, adapt new force layout
* feat(behaviors): support drag element force behaviors
* feat: adapt d3 force layout
* test: remove webgl dependencies
2024-04-11 14:20:03 +08:00
Yuxin
ba7caf3ca3
refactor: update theme base style and update snapshots ( #5628 )
...
* refactor: update theme base config and update snapshots
* refactor: adjust base theme style
* test: update snapshots
---------
Co-authored-by: Aaron <yangtao.yangtao@antgroup.com>
2024-04-09 16:06:47 +08:00
Aaron
90fd24e9b4
chore: update version to beta.32 ( #5631 )
2024-04-08 22:34:17 +08:00
Aaron
a428667dae
refactor: define and export event ( #5627 )
...
* feat(utils): add isElement util
* refactor(runtime): override on/once api to provide type
* refactor: define and export event type
* refactor(runtime): carry originalTarget in element event
2024-04-07 18:54:15 +08:00
Frank William
944ccda096
fix(behaviors): create-edge demo update ( #5624 )
...
Co-authored-by: wb-xcf804241 <wb-xcf804241@alibaba-inc.com>
2024-04-07 17:12:27 +08:00
Aaron
e968ba6359
feat: element support lifecycle methods ( #5620 )
...
* test: rename test case
* refactor(elements): element support override lifecycle methods
* test: add demo that support state animation
2024-04-07 17:10:49 +08:00
Aaron
cf0ccc70d6
refactor: remove state change event ( #5617 )
...
* refactor: remove state change event
* test: add element state test case
2024-04-07 17:06:57 +08:00
Frank William
84074e6a37
feat(behavior): add create-edge ( #5601 )
...
* feat(behavior): add create-edge
* refactor: rename edgeConfig to edgeStyle
* feat(behavior): create-edge add onCreate
* refactor(behaviors): adjust create edge
---------
Co-authored-by: wb-xcf804241 <wb-xcf804241@alibaba-inc.com>
Co-authored-by: Aaron <yangtao.yangtao@antgroup.com>
2024-04-07 11:21:11 +08:00
Aaron
6583288f83
feat: add 3d behaviors ( #5614 )
...
* refactor: adjust ExtensionCategory to enum
* feat(plugins): add camera setting plugin
* refactor(utils): shortcut support drag extend key
* refactor: adjust event type definition
* refactor: emit canvas event
* refactor: adjust exports
* refactor: adjust renderer
* feat(behaviors): add 3d behaviors
* test: add dev demos
* chore: adjust package.json
* refactor: fix getExtension type
2024-04-03 20:46:59 +08:00
Aaron
155a0bb86d
chore: add script to help checkout contributor branch ( #5610 )
2024-04-03 12:03:22 +08:00
Aaron
6796bcd763
refactor(behaviors): adjut behaviors ( #5612 )
2024-04-03 12:00:08 +08:00
Aaron
61fa3d158a
refactor(runtime): add element lifecycle event ( #5611 )
...
* test: remove async from createGraph
* refactor(runtime): add element lifecycle event
2024-04-03 11:59:22 +08:00
Joel Alan
d0c3c7dbc5
feat: plugin legend ( #5593 )
...
* chore: rebase v5
* fix: resolve conversation
* ci: update snapshots
* refactor(plugin): update legend case and snapshots
---------
Co-authored-by: Aaron <yangtao.yangtao@antgroup.com>
2024-04-02 23:29:06 +08:00
Aaron
923c62a639
feat(runtime): add getPluginInstance API ( #5609 )
2024-04-02 19:50:20 +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
6135475b0e
chore: update version to 5.0.0-beta.31 ( #5602 )
2024-04-01 11:18:00 +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
bcd080432f
fix: fix issue that cause memory leak ( #5587 )
...
* fix: fix issue that may cause memories lack
* test: adjust test case to destroy graph
2024-03-29 11:45:18 +08:00
Frank William
72c5e74611
feat(behavior): add click focus element(node/combo) ( #5595 )
...
* feat(behavior): add click focus element
---------
Co-authored-by: wb-xcf804241 <wb-xcf804241@alibaba-inc.com>
2024-03-28 13:16:44 +08:00
DonovanYe
f5ec528661
docs: fix typos in elements.zh.md and CONTRIBUTING.en-US.md ( #5598 )
...
* docs: fix typos in elements.zh.md
* docs: fix typos in CONTRIBUTING.en-US.md
2024-03-28 00:13:07 +08:00
hustcc
fff59f2027
feat: add toolbar plugin ( #5589 )
...
* feat: add type define of toolbar plugin
* feat: add toolbar plugin
* docs: add toolbar demo
* test: add test case
* chore: fix typo
* fix: remove insert-css
* chore: update test case
* chore: fix cr
2024-03-27 21:20:46 +08:00