Commit Graph

255 Commits

Author SHA1 Message Date
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
Yanyan Wang
8cc2b8cb04
docs: update FAQ (#4128)
* docs: perf doc table

* docs: update FAQ

* docs: perf links and imgs
2022-12-08 14:33:57 +08:00
Yanyan Wang
d98a3a8c98
docs: perf doc table (#4109) 2022-11-29 19:36:09 +08:00
Yanyan Wang
5344756106
docs: perf deocs for custom node and custom edge (#4108)
* docs: perf demo

* docs: perf deocs for custom node and custom edge

* docs: refine

* docs:修正drag-canvas说明文档 (#4107)

Co-authored-by: LuckyScholar <64349486+LuckyScholar@users.noreply.github.com>
2022-11-29 18:51:06 +08:00
Yanyan Wang
44f0c218da
docs: update minimap doc with hideEdge config (#4104) 2022-11-29 11:16:23 +08:00
Yanyan Wang
c5cf67b7bb
feat: allowDragOnItem config for scroll-canvas; (#4093)
* feat: allowDragOnItem config for scroll-canvas;

* docs: add sequence graph demo to the site

* feat: allowDragOnItem config for scroll-canvas, closes: #3062;feat: hideEdge config for minimap to enhance the performance, closes: #3158;fix: minimap has incorrect shape zIndex with keyShape type and delegate type, closes: #3132;fix: minimap viewport dragging problem in firefox and safari, closes: #2939;

* feat: allow to setTextWaterMarker and setImageWaterMarker with an undefined parameter to remove the watermarker, closes: #3478; docs: add sequence demo to site, closes: #3027;perf: unify the formats of shouldBegin, shouldUpdate, and shouldEnd in behaviors, closes: #3028; perf: fitView and fitCenter according to the corner ndoes insead of getCanvasBBox to avoid maximum call stack size exceeded, closes: #2447; fix: treeGraph changeData with node properties lost, closes: #3215; fix: error occurs while calling updateLayout from gpu layout to a cpu layout, closes: #3272; fix: error occurs while calling changeData to remove a node in a combo, cloases: #3293;

* chore: refine
2022-11-29 11:03:33 +08:00
Yanyan Wang
d725a49c93
fix: dagre layout for collapsed combos; perf: give layout algorithm vedges; (#4092) 2022-11-25 15:16:57 +08:00
Yanyan Wang
59d31195f1
docs: update error docs for downloadFullImage API (#4078) 2022-11-25 14:59:54 +08:00
Yanyan Wang
15d804ff1b
docs: update site advertises (#4080) 2022-11-22 14:29:20 +08:00