Commit Graph

263 Commits

Author SHA1 Message Date
Aaron
9e461adc06
fix: fix embed link error (#5196) 2023-11-27 21:01:11 +08:00
Aaron
d20fede731
fix: fix docs embed link (#5195) 2023-11-27 20:47:32 +08:00
Aaron
47d243e11a
chore: config changeset and update version and fix circular dependency (#5191)
* chore: config changeset and update version and fix circular dependency

* chore: remove generated file

* chore: config deploy workflows
2023-11-27 17:43:59 +08:00
Aaron
23adc722e2
chore: migration project to pnpm manage (#5190)
* chore: migration project to pnpm manage

* chore: remove npmrc
2023-11-27 16:57:50 +08:00
Aaron
5503674c16
chore: update dumi themem antv of master (#5187)
* chore: update dumi-theme-antv of master branch

* chore: add 5.x link

* refactor: remove storebook demos which cause build error

* fix: add missed tslib
2023-11-26 14:22:14 +08:00
puxiao
3d363199d0
Update getting-started.zh.md 2023-09-27 14:30:57 +08:00
Arichy
8f0472c7dd fix: scrollNode demo crash 2023-09-14 11:06:02 +08:00
Yanyan-Wang
fe95b951ff docs: update news for site 2023-09-01 16:09:57 +08:00
Yanyan Wang
a73b940d87
docs: add combo demo to site (#4769) 2023-07-26 22:05:33 +08:00
Yanyan Wang
f7f04cff5f
fix: parent combo size problem, closes: #4734 (#4750)
* fix: parent combo size problem, closes: #4734

* chore: update version num
2023-07-18 09:55:11 +08:00
Yanyan Wang
36708955bd
chore: unify the version num for sub packages (#4720) 2023-07-07 10:58:03 +08:00
Yanyan Wang
42a29b1310
fix: custom node with image shape, setting state makes the image lost, closes: #4707 (#4719)
* fix: custom node with image shape, setting state makes the image lost, closes: #4707;

* fix: custom node with uncache shape in shapeMap
2023-07-07 10:36:40 +08:00
visiky
29f1921c66
feat(events): graph.destroy 增加 beforedestroy and afterdestroy lifecycle events (#4714)
* feat(lifecycle): graph destroy 增加 beforedestroy & afterdestroy 事件

* feat: typings and docs about beforedestroy and afterdestroy events

---------

Co-authored-by: liaoxiaojuan <liaoxiaojuan@bytedance.com>
2023-07-06 20:24:39 +08:00
Aaron
dfbf9b68a8
docs: update the docs of how to use G6 in react env (#4716) 2023-07-06 20:24:05 +08:00
Yanyan Wang
da3e9a5fd8
chore: update ga to v4 (#4676) 2023-06-25 19:14:39 +08:00
zhousheng193
bd8eefc73a
Update comboMethods.zh.md (#4659)
标题的markdown格式调整
2023-06-25 10:33:32 +08:00
feiben
bb65cae518
docs: update plugins.zh.md (#4649) 2023-06-15 15:24:09 +08:00
Yanyan Wang
4b661b53d5
fix: scroll delta for old version of firefox; (#4641) 2023-06-13 21:05:33 +08:00
Yanyan Wang
08e955ea45
4.8.16 (#4636)
* fix: edge label is not draggable, closes: #4612; fix: error occurs while clicking back button on timebar when the slider is already on the start, closes: #4598; docs: scrollNode demo drag node problem, closes: #4626;

* chore: update layout version
2023-06-13 13:40:11 +08:00
Yanyan Wang
96e36f2c9e
docs: v5 demo add star link (#4604) 2023-06-08 13:41:19 +08:00
Yanyan Wang
d52dbf8400
docs: update site (#4592) 2023-06-07 09:58:06 +08:00
Yanyan Wang
1d9af681c5
chore: update g6 v5 for site (#4591) 2023-06-05 22:36:46 +08:00
pomelo
f78f18cd79
feat: update g6vp link (#4585) 2023-06-05 22:35:20 +08:00
Yanyan Wang
34f2265030
fix: combo animate is not activated with createCombo; (#4570)
* fix: combo animate is not activated with createCombo;

* Fix issue#4552, another 404 not found and  typo errors (#4554)

* fix: Fix the issue#4552 both in en-document and cn-document

* fix: Fix the 404 error in "/api/items/combo-methods" and "api/items/node-methods" and "/api/items/edge-methods" The demo URL of these pages is not valid. I added a "#" tag after URL

* fix: 文档中此处有错误,将此处的内置节点改为内置combo

* fix:文档此处有误,将此处的自定义节点改为自定义边

* fix: layout url (#4529)

---------

Co-authored-by: zqqcee <55946653+zqqcee@users.noreply.github.com>
2023-06-05 17:00:21 +08:00
Yanyan Wang
be99b93a2c
chore: g6 v5 demo update (#4547) 2023-05-30 14:41:32 +08:00
Yanyan Wang
93feb26c19
docs: add small v5 demo to site (#4542) 2023-05-27 20:59:59 +08:00
Yanyan Wang
1a10847512
docs: add v5 demo (#4541)
* docs: add v5 demo to the site

* docs: update data for 3d of v5 demo
2023-05-27 19:51:55 +08:00
@thinkinggis
40e3ed483e
Update .dumirc.ts 统一官网消息配置,合并后官网发个版 2023-05-26 15:00:57 +08:00
Yanyan Wang
a5cf6867c8
fix: position animations; (#4457)
* fix: position animations;

* chore: update version nums

* fix: spiky donuts #3849 (#4452)

* docs: 修复文档表格展示错误问题 (#4454)

Co-authored-by: chenkun <ck01107787@antgroup.com>

* fix: remove label if no longer present (#4441)

* fix: remove label if no longer present

* fix: remove label background from shapeMap

* Update edge.ts (#4486)

自定义quadratic类型曲线是如传进去curvePosition,curveOffset,isArray判断应该为cfg

* fix: fix issue if set timebar in independent container on destroy (#4497)

* feat: timebar 新增putInGraphContainer属性决定是否将timebar置于graph container 中 (#4492)

* fix: fix issue if set timebar in independent container on destroy

* feat: timebar 新增putInGraphContainer属性决定是否将timebar置于graph container 中 (#4492)

---------

Co-authored-by: ensconced <joebarnett876@gmail.com>
Co-authored-by: OctKun <cainchen97@qq.com>
Co-authored-by: chenkun <ck01107787@antgroup.com>
Co-authored-by: H丶MF <723455362@qq.com>
Co-authored-by: Aaron <yoonagoddess@163.com>
2023-05-12 13:46:03 +08:00
Yanyan Wang
a31c45d873
fix: type for draw function in elements, closes: #4395 (#4398)
* fix: type for draw function in elements, closes: #4395

* fix: force2 with webworker, closes: #4394

* fix: excludeInvisibles with collapse-expand behavior problem;

* chore: update version nums

* fix: tooltip top position error (#4411)

fix: tooltip top position error

---------

Co-authored-by: hipi <22478003+hipi@users.noreply.github.com>
2023-04-08 19:16:29 +08:00
Yanyan Wang
34eae7da94
docs: tree changeData demo problem (#4373) 2023-03-22 10:03:23 +08:00
Yanyan Wang
dcb27b013f
fix: preset layout with gpu layout; (#4346)
* fix: preset layout with gpu layout;

* fix: isBig must be number for use in path (#4306)

* fix: Fixed issue of nested child combo being rendered under parent, preventing interation with it (#4310)

* fix: Node dragging starting one event too late. (#4365)

* fix: large graph demo page (#4321)

* fix: Node dragging starting one event too late.

---------

Co-authored-by: Yanyan Wang <yanyanwang93@gmail.com>

* feat: tree graph layout with excludeInvisibles prop, closes: #4340; fix: type problems, closes: #4301;

* docs: update change log and site docs

* chore: refine

---------

Co-authored-by: ensconced <joe.barnett876@gmail.com>
Co-authored-by: Gary McGovern <gary.mcgovern@siren.io>
Co-authored-by: Kevin Fontanari <kevin.fontanari@gmail.com>
2023-03-21 17:55:58 +08:00
Yanyan Wang
96d78a064b
fix: large graph demo page (#4321) 2023-03-01 12:33:24 +08:00
Yanyan Wang
0850433350
fix: loop edge position after node dragging; fix: handle drag-node in… (#4304)
* fix: loop edge position after node dragging; fix: handle drag-node interrupted by browser contextmenu and mouseup event outside the viewport;

* docs: typo
2023-02-21 19:07:46 +08:00
Eve-Sama
3798e2aea9
fix: docs error (#4302) 2023-02-21 18:44:24 +08:00
Yanyan Wang
561787310e
fix: loop edge position for custom rect node, closes: #4236; (#4240)
* fix: loop edge position for custom rect node, closes: #4236;

* fix: drag-node should be ended after data changed;

* chore: upgrade version num
2023-02-20 17:57:34 +08:00
Yanyan Wang
38188aac35
fix: doc search for site (#4270) 2023-02-13 11:26:42 +08:00
Yanyan Wang
afc445a49f
fix: docs url problems (#4260)
* fix: site url errors

* fix: site doc urls
2023-02-08 20:39:46 +08:00
Yanyan Wang
3a4d851ff3
chore: update urls (#4242)
* fix: cammel directory name leads to wrong route behaviors

* chore: update urls
2023-02-01 20:37:24 +08:00
Yanyan Wang
976fdd8971
fix: cammel directory name leads to wrong route behaviors (#4241) 2023-02-01 20:19:44 +08:00
hustcc
56fb8117b6
chore: fix homepage url (#4239)
Co-authored-by: 逍为 <xiaowei.wzw@antgroup.com>
2023-02-01 20:05:06 +08:00
Yanyan Wang
2081be59fd
fix: combo with size and fixSize setting; (#4234)
* fix: combo with size and fixSize setting; fix: active-relations with combo and clear states for destroyed virtual edges leads to unexpected error, closes: #4229; fix: applyCloneClip with uncliped image leads to unexpected error, closes: #4231;

* feat: resize combos when dragging contained elements (#4225)

* feat: drag-node and drag-combo support dynamically changes parent combos size while dragging the child items;

* chore: update tests

* chore: update version nums

---------

Co-authored-by: Fabio Tacchelli <fabio.tacchelli@gmail.com>
2023-01-31 18:30:14 +08:00
Yanyan Wang
7cdc01cfa6
fix: error edge link positions for circle combo with size config (#4216)
* fix: error edge link positions for circle combo with size config, closes: #4193;

* fix: indented layout with different node widths, closes: #4200; feat: indented layout with align config to tell the node drawing alignment;

* chore: update verison num

* chore: update tests
2023-01-30 11:36:14 +08:00
Yanyan Wang
57b11a93f7
fix: unexpected error occurs when points of a hull are all duplicated; (#4192) 2023-01-06 17:01:22 +08:00
Yanyan Wang
27cd01d156
perf: add updateShape function for donut node, closes: #4091; chore: … (#4178)
* perf: add updateShape function for donut node, closes: #4091; chore: refactor the implementation of donut node;

* feat: legend supports diamond, ellipse, triangle, star shape, closes: #3876;

* feat: add redo undo for TreeGraph, closes: #3664, #2414;

* chore: update version nums

* chore: refine
2023-01-03 11:09:01 +08:00
Yanyan Wang
759769b199
docs: add a decision tree demo (#4173) 2022-12-29 18:35:58 +08:00
Yanyan Wang
84f592d6e3
perf: use simple router for polyline when there is no obstacles, the … (#4154)
* perf: use simple router for polyline when there is no obstacles, the performance is improved, closes: #2658; perf: improve the performance for polyline by improve the pathFind implementations; fix: unexpected backforward path caused by redundant controlPoints for polyline;

* fix: minimap viewport size problem when the graph have no width or height param, closes: #4152;

* fix: combo with fixSize has wrong link points for related edges, closes: #4153;

* chore: refine

* docs: update docs

* perf: layout without nodes at first time should not tweak at the second time;

* chore: refine

* chore: refine

* chore: update version num
2022-12-26 14:45:58 +08:00
Yanyan Wang
2d79ce989d
fix: destroy graph and call layout problem, closes: #4126; (#4142)
* fix: destroy graph and call layout problem, closes: #4126;

* remove duplicated event emit, closes: #4043; fix: mousedown on other DOMs and mouseup on canvas, click is triggered unexpectly, closes: #2922; fix: mousemove and mouseup are not triggered with drag and dragend, closes: #3086; fix: replace DOMMouseScroll and mousewheel with wheel event, closes: #3256; perf: refresh item when updateChild, updateChildren, addChild, removeChild for TreeGraph;

* chore: refine

* chore: update version num
2022-12-15 19:41:35 +08:00
Yanyan Wang
98b92a9a9f
fix: expandCombo and the edges of the children are not refreshed, clo… (#4132)
* fix: expandCombo and the edges of the children are not refreshed, closes: #3250;

* fix: edge update with destroyed end items, closes: #3925

* fix: the item param of the afterremoveitem for combo should be data;fix: add type to the parameter list of beforeremoveitem event; fix: edge update with destroyed end items, closes: #3925; perf: take the max value of padding array for circle combo, closes: #4113; feat: support top-center for rect combo label position, closes: #3750; feat: createCombo and uncombo support stack, closes: #3695, #3323;

* docs: update docs about shape name

* docs: update CHANGELOG
2022-12-15 11:28:28 +08:00
Huang YiSheng
149de8effc
fix: fix edge doc bug (#4129) 2022-12-09 19:05:39 +08:00