Commit Graph

263 Commits

Author SHA1 Message Date
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
Yanyan Wang
9dfe146ab4
- fix: error occurs while dragging combo with drag-node behavior; (#4073) 2022-11-18 18:56:08 +08:00
Yanyan Wang
58ebfa95ec
docs: update the urls about vision to antgroup (#4072) 2022-11-17 18:23:41 +08:00
Yanyan Wang
80b36d757a
perf: site styles (#4060) 2022-11-16 11:59:37 +08:00
f1d60c7b7a
feat: migrate to dumi-theme-antv from gatsby (#4031)
* feat: migrate to dumi-theme-antv from gatsby

* chore: undate some md docs

* feat: add .dumi/global.ts context

* chore: import another md transform
2022-11-15 10:43:18 +08:00
Yanyan Wang
142e9eaeb8
fix: unexpected move with fitCenter with animation; fix: update modelRect with rendering error, closes: #4041; (#4042) 2022-11-11 17:06:45 +08:00
Yanyan Wang
76da66324b
chore: upgrade version num (#4036)
* chore: upgrade version num

* Fix combos to inherit animation setting from graph (#3992)

* fix: createCombo didn't update the "comboTrees" correctly (#3993)

* Fix the comboTrees update in createCombo()

* Copy tests from core to pc

* Fix useless conditional

* Change variable name to not include verb

* Add some missing types

* docs: update traverseTree and traverseTreeUp doc

* fix: drag-canvas incorrectly stopped by right click; perf: improve the performance of setItemState and active-relations again;

* fix: setItemState on node, related edges linking positions are not refreshed; feat: graph supports optimizeThreshold to control the number threshold of nodes to enable the optimization on rendering and interaction, currently only affects the edges refresh while the related node state style changed;

* chore: update CHANGELOG

* chore: tests refine

* docs: update docs and demos for force2 on website

Co-authored-by: daniele-pini <daniele.pini@siren.io>
2022-11-09 21:16:52 +08:00
Yanyan Wang
1ff0e54568
chore: refine (#4035) 2022-11-08 16:26:54 +08:00
Nikhil
b25aea318e
fix: update typo (#4000) 2022-11-08 16:10:50 +08:00
Yanyan Wang
3c73d17cd2
perf: improve the performance of setItemState and active-relations; perf: keyShape is hiden when a combo is collapsed with collapsedSubstituIcon; fix: drag-node incorrectly stopped by right click; fix: timebar plugin destroy problem, closes: #3998; fix: controllerCfg does not take effect in timebar with tick type, closes: #3843; feat: timebar plugin supports config the default time type; feat: timebar with play and pause API; chore: use addItem and removeItem instead of changeData in timebar; (#4033) 2022-11-08 11:14:22 +08:00
Yanyan Wang
55fee1e0ea
perf: init node positions when the node has no x and y in the origin data; (#4014) 2022-10-26 19:52:36 +08:00
Yanyan Wang
ce0dbae399
fix: image lost while updating the size for an image node, closes: #3938; (#3991)
* fix: image lost while updating the size for an image node, closes: #3938;

* chore: update version num

* 自环边样式 startPoint & endPoint 计算问题 #3974 (#3990)

* fix: 自环问题连接点问题修复

* feat: change var to halfOfWidth and halfOfHeight

* feat: 修改注释

* feat: 完善文档

* feat: 修改注释

* feat: 修改注释

* feat: add loop feat unit test

* feat: 删除空行

* feat: 修改名称

Co-authored-by: linjie <xinxinsong.sxx@alibaba-inc.com>

Co-authored-by: tulaoda <coderaxin@163.com>
Co-authored-by: linjie <xinxinsong.sxx@alibaba-inc.com>
2022-10-13 16:00:52 +08:00
Yanyan Wang
6561f296bd
feat: getPlaceholder for Annotation plugin; (#3989)
* feat: getPlacehoder for Annotation plugin;

* chore: refine

* chore: refine
2022-10-12 17:11:16 +08:00
Yanyan Wang
155afcbdf8
fix: Annotation readData with inexistent item; (#3985)
* chore: refine

* feat: performance tweaks (#3969)

* Don't set beforeDragNodes if stack ops are off

* Prevent clone if stack ops are off

* Reduce lookups

* Simplify condition

* chore: refine

* chore: refine

* doc: update CHANGELOG

Co-authored-by: Fabio Tacchelli <fabio.tacchelli@gmail.com>
2022-10-10 22:04:34 +08:00
Yanyan Wang
7680af8131
chore: update site version (#3983) 2022-10-09 18:30:51 +08:00
Yanyan Wang
5fdb516db1
perf: Annotation support updating positions for outside cards by calling updateOutsideCards; (#3981)
* perf: Annotation support update positions for outside cards by calling updateOutsideCards;

* chore: refine

* doc: fix custom-layout url broken (#3967)

* docs: fix the wrong path (#3948)

* fix: .worker file contains non-worker code (#3956)

* feat: more descriptive stackchange events (#3970)

* doc: refine

* feat: add combo support in brush-select behavior (#3972)

* Add combo support in brush-select behavior

* Add common function for bbox center checking

Co-authored-by: nana7mi <zzyagg@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: liao02x <liao02x@gmail.com>
Co-authored-by: Fabio Tacchelli <fabio.tacchelli@gmail.com>
Co-authored-by: daniele-pini <daniele.pini@siren.io>
2022-10-09 17:59:21 +08:00
Yanyan Wang
934661e6ed
perf: Annotation min-width and input width; (#3947)
* perf: Annotation min-width and input width;

* Fix build issue (#3934)

* fix: there is no dir named mobile

* fix: path-util is not marked as dependency of plugin, but actually it is

Co-authored-by: xiangyifeng <xiangyifeng@tencent.com>

Co-authored-by: fxiangyi <fxiangyi@gmail.com>
Co-authored-by: xiangyifeng <xiangyifeng@tencent.com>
2022-09-19 16:13:08 +08:00
Yanyan Wang
c0f6161355
feat: beforechangedata and afterchagnedata for graph changeData; feat… (#3932)
* feat: beforechangedata and afterchagnedata for graph changeData; feat: Annotation supports icon events callbacks; feat: Annotation supports defaultBegin position configuration for new annotation cards; perf: Annotation updated automatically when graph data changed and graph item visiblity changed;

* fix: Destroy legend canvas when the plugin is destroyed, closes: #3931; fix: unexpected console, closes: #3926
2022-09-09 17:18:03 +08:00
Yanyan Wang
63f43ce478
feat: Annotation plugin; fix: combo and drag-node with heap maximum p… (#3911)
* feat: Annotation plugin; fix: combo and drag-node with heap maximum problem, closes: #3886; fix: combo and graph re-read problem, closes: 3902; fix: d3 force layout with default animate; perf: bundling plugin ts problem, closes: #3904;

* chore: refine

* chore: refine
2022-09-05 18:21:40 +08:00
Yanyan Wang
594106e422
fix: combo collapsed edge problems, closes: #3839; (#3885)
* fix: combo collapsed edge problems, closes: #3839;

* feat: fitItems function (#3838)

* feat: fitItems function

* Add test

* Fix bbox lower boundary

* Refactor into focusItems

* chore: update version num

* fix:Add success call in layoutWithWorker (#3873)

Co-authored-by: Yuran Ou <yuran.ou@citrix.com>

Co-authored-by: Fabio Tacchelli <fabio.tacchelli@gmail.com>
Co-authored-by: Yuran Ou <50813733+ouyuran@users.noreply.github.com>
Co-authored-by: Yuran Ou <yuran.ou@citrix.com>
2022-08-23 12:51:29 +08:00
Yanyan Wang
7b48f6827a
feat: updateLayout from no pipes to pipes, closes: #3726; fix: relayout with pipes; (#3840) 2022-08-05 18:18:53 +08:00
Yanyan Wang
915297d631
fix: legend changeData problem, closes: #3561; fix: redo and undo wit… (#3829)
* fix: legend changeData problem, closes: #3561; fix: redo and undo with an image node, closes: #3782;

* fix: call refreshPositions instead of positionsAnimate while there is no layout configuration;

* test: update test cases
2022-08-02 20:19:32 +08:00
Yanyan Wang
5407845e42
fix: wrong dropped position for drag-combo with enableDelegate, close… (#3821)
* fix: wrong dropped position for drag-combo with enableDelegate, closes: #3810; fix: stack for drag-combo with onlyChangeComboSize, closes: #3801; fix: stack updateLayout, closes: #3765; fix: drag-canvas and zoom-canvas with enableOptimize show a hiden shape which is controlled by state, closes: #3635;

* chore: refine CHANGELOG

* fix: only regenerate id when id is undefined (#3670)

* fix: only regenerate id when id is undefined

* feat: normalize id

* fix: findAllByState should not select hidden nodes (#3784)

* fix: findAllByState should not select hidden nodes

* clean up

* clean up

* update interface

* fix: react node typings inaccuracy (#3790)

* docs: react node match typings

* fix: react node optional `style` properties

* fix: react node `React 18` compatibility

* docs: fix a typo

* feat: rework animated fitView (#3796)

* Add lerpArray function

* Move getAnimateCfgWithCallback function

* Reimplement animated fitView

* Animated fitview rework

* Remove unused import

* Fix graph warp when hitting max/min zoom

* Avoid multiple transforms

* docs: update CHANGELOG (#3822)

* docs: update CHANGELOG

* chore: upgrade version num

Co-authored-by: AlbertAz <ziyuximing@163.com>
Co-authored-by: femiabdul <83455275+femiabdul@users.noreply.github.com>
Co-authored-by: MikalaiLappo <102466089+MikalaiLappo@users.noreply.github.com>
Co-authored-by: Fabio Tacchelli <fabio.tacchelli@gmail.com>
2022-08-01 16:10:53 +08:00
Yanyan Wang
5a7681c85f
perf: optimize the performance of combo graph; (#3769)
* perf: optimize the performance of combo graph;

* chore: upgrade license for g6-react-node

* chore: upgrade version nums

* docs: new demo for viewport animation
2022-07-04 10:02:47 +08:00
Yanyan Wang
4fc7ad5ea7
fix: star node with leftBottom linkPoint show and hide problem; fix: … (#3760)
* fix: star node with leftBottom linkPoint show and hide problem; fix: relayout does not execute onAllLayoutEnd problem;

* fix: combo edge state update problem, closes: #3639;

* docs: add comboCombined demo for site

* docs: running arrow demo
2022-06-28 19:52:44 +08:00
Yanyan Wang
4512b10bcb
fix: custom layout warning and layout failed problem; (#3758)
* fix: custom layout warning and layout failed problem; fix: upgrade layout to fix DagreLayoutOptions type error; fix: upgrade layout to fix comboCombined with original node infomations problem;

* chore: tests refine

* Truncate node labels (#3690)

* Added maxLength property to LabelStyle

* Added unit test for label max length

* Added truncateLabelByLength util function

* Added safety checks for negative and non-number maxLength values

* Moved maxLength prop to labelCfg

* feat: maxLength for labelCfg;

* chore: upgrade version nums

Co-authored-by: Tony <51513780+TonyN96@users.noreply.github.com>
2022-06-28 14:44:14 +08:00
Yanyan Wang
778720cc89
fix: spelling error for nodeselectChange, closes: #3736; fix: update … (#3748)
* fix: spelling error for nodeselectChange, closes: #3736; fix: update node icon from show false to show true; feat: combo supports collapsedSubstituteIcon showing after collapsed; feat: remove animations while first rendering with (collapsed)combos;

* chore: refine

* chore: gitleaks pin to v1-6-0

* fix: afterrender should be emitted when the layout is not configured;

* fix: update combo edge at the same time onDrag (#3734)

* docs: docs refine (#3733)

* implement more efficient way of dragging combo

* clean up

* reslove conflicts

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

* fix: [tooltip plugin] wrap className in quotes when createDom to support multi classname (#3747)

* docs: docs refine (#3733)

* fix: [tooltip plugin] wrap className in quotes when createDom

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

* perf: spelling error in drag-combo

* fix: relayout while collapse-expand-combo

* refactor: 将 toolbar plugin 的默认操作函数抽离 (#3718)

* refactor: refactor plugin toolBar

Change-Id: I7862749924f7a100d93a1e380524aea3ee96cc3d

* docs: update doc

Change-Id: Ifbb32ea0f0f0791994eb4cb88f4bd3af9b29d587

* refactor: remote {

Change-Id: I20bea2426bb077fe51ec1309aca8545b65a5d0a5

* chore: update CHANGELOG

* chore: update version nums

* fix: collapsed combo with error size

Co-authored-by: femiabdul <83455275+femiabdul@users.noreply.github.com>
Co-authored-by: bjym <aaron.bjym1011@gmail.com>
Co-authored-by: 忽如寄 <594613537@qq.com>
2022-06-23 13:10:41 +08:00
Yanyan Wang
c3d43d055d
docs: docs refine (#3733) 2022-06-17 19:23:15 +08:00
Yanyan Wang
90f1264b25
fix: destroyLayout error, closes: #3727; fix: drag combo with stack p… (#3730)
* fix: destroyLayout error, closes: #3727; fix: drag combo with stack problem, closes: #3699; fix: updateLayout does not take effect if update layout with same type as graph instance configuration,  closes: #3706; fix: legendStateStyles typo, closes: #3705; perf: minimap cursor move;

* fix: zoom-canvas take the maximum and minimum values (#3711)

Co-authored-by: daichaofan <daichaofan@139.com>

* fix: 修复G6内置 shortcuts-call behavior 类型错误 (#3669)

Co-authored-by: 孙权 <sunquan.sq@bytedance.com>

* docs: 修复graph.addItem,[graph.removeItem和graph.changeData超链接错误 (#3666)

Co-authored-by: fujunkui <fujunkui@oschina.cn>

* feat: animate fitCenter and fitView (#3637)

* feat: animate fitCenter

* feat: animate fitView

* feat: enable edge selection in `click-select` (#3601)

* feat: enable edge selection in `click-select`

* fix: `click-select` click on canvas to deselect edges

* feat: add addItems function (#3578)

* feat: add addItems function

* Add tests

* More efficient combo sorting

* Remove comments

* Improve jsdoc

* Fix interface

* docs: update README

* chore: upgrade version nums

Co-authored-by: daichaofan <50311886+daichaofan@users.noreply.github.com>
Co-authored-by: daichaofan <daichaofan@139.com>
Co-authored-by: ruoruoji <30526662+ruoruoji@users.noreply.github.com>
Co-authored-by: 孙权 <sunquan.sq@bytedance.com>
Co-authored-by: fu1996 <42232973+fu1996@users.noreply.github.com>
Co-authored-by: fujunkui <fujunkui@oschina.cn>
Co-authored-by: Fabio Tacchelli <fabio.tacchelli@gmail.com>
Co-authored-by: AyajiLin <30380541+leonardodalinky@users.noreply.github.com>
2022-06-17 16:55:14 +08:00
pomelo
9596802581
feat: 增加新成员 GraphInsight (#3720)
Co-authored-by: pomelo.lcw <pomelo.lcw@antgroup.com>
2022-06-07 16:11:56 +08:00
Yanyan Wang
0179634024
docs: 更新 combo combined 文档; docs: 新增自定义分类图 demo (#3600)
* chore: update version nums

* docs: 更新 combo combined 文档; docs: 新增自定义分类图 demo

* chore: refine
2022-03-28 09:52:08 +08:00
Yanyan Wang
156037e073
feat: shouldDeselect param for lasso-select (#3575)
* feat: shouldDeselect param for lasso-select; fix: initial collapsed combos with unexpected size;

* docs: new docs for comboCombined; docs: update translate and zoom api with animate cfg

* chore: refine

* feat: support meta and key combination to trigger zoom for scroll-canvas behavior (#3568)

* feat: support meta and key combination to trigger zoom for scroll-canvas behavior

* docs: fix typo in docs

* fix: push ctrl into zoomKey array unexpectedly

Co-authored-by: litianyi.troy <litianyi.troy@bytedance.com>

* chore: update version nums

Co-authored-by: Troy Li <troy.lty@alipay.com>
Co-authored-by: litianyi.troy <litianyi.troy@bytedance.com>
2022-03-14 15:00:07 +08:00
Yanyan Wang
5dd6a79572
feat: comboCombined Layout; feat: combo supports position configurations for any situations; 4.6.0-beta (#3510)
* docs: add indented tree and brief node demos

* feat: combo supports being assigned positions

* fix: run layout promise only when the layout is configured;

* chore: rebase and version number unpdate

* chore: upgrade

* chore: refine

* chore: refine

* fix: no animate when a node has no previous position

* fix: fix the hidden combos not set correctly (#3509)

close #3508

* chore: update version

* chore: register dagreCompound layout (#3548)

* fix: #3513 切换节点文字位置,文字位置出现错误 (#3531)

Co-authored-by: daichaofan <daichaofan@139.com>

* chore: update versions

Co-authored-by: simplejason <simplejason.coder@gmail.com>
Co-authored-by: daichaofan <50311886+daichaofan@users.noreply.github.com>
Co-authored-by: daichaofan <daichaofan@139.com>
2022-03-03 20:37:15 +08:00
Yanyan Wang
d86be427bf
fix: tooltip with wrong duplicated child DOM nodes; (#3507) 2022-02-10 16:21:16 +08:00
Yanyan Wang
26d8473c68
4.5.4 (#3491)
* feat: tooltip 支持动态dom (#3352)

Co-authored-by: yanniswang <yanniswang@tencent.com>

* Update index.ts (#3461)

* fix: allow enabling stack operations at runtime (#3473)

* fix: allow enabling stack operations at runtime

* add test

* fix: use origin data when changeData without data param, closes: #3459;

* feat: onCanvasClick in click-select supports 'shouldBegin' option (#3497)

* docs: update CHANGELOG

* chore: update version nums

Co-authored-by: cfool <wangyanmailbox@163.com>
Co-authored-by: yanniswang <yanniswang@tencent.com>
Co-authored-by: daisy <daisy.yxqiu@qq.com>
Co-authored-by: Fabio Tacchelli <fabio.tacchelli@gmail.com>
Co-authored-by: James Tsang <wtzeng1@gmail.com>
2022-02-08 11:23:38 +08:00
Yanyan Wang
ca9f159cf9
fix: import G6 in head and call getComputedStyle, the document body is not exist; (#3450) 2022-01-17 09:59:03 +08:00
Yanyan Wang
35bbc3f987
4.5.2 (#3436)
* docs: add indented tree and brief node demos

* fix: getUpdateType with type error; fix: edge label background with clearItemStates problem; fix: edge label with autoRotate false and padding problem; fix: changeData in the process of create-edge behavior, an error occurs, closes: #3384;
2022-01-11 14:38:16 +08:00
Yanyan Wang
65a029de6a
feat: timebar plugin refine (#3320)
* fix: simple timebar silder text position strategy and expand the lineAppendWidth for the slider; feat: timebar supports filterItemTypes to configure the types of the graph items to be filtered; only nodes can be filtered before;  feat: timebar supports to configure the rotate of the tick labels by tickLabelStyle[dot]rotate; feat: timebar supports container CSS configuration by containerCSS; feat: timebar supports a function getDate to returns the date value according to each node or edge by user; feat: timebar supports afunction getValue  to returns the value (for trend line of trend timebar) according to each node or edge by user; feat: timebar supports to configure a boolean changeData to control the filter way, true means filters by graph[dot]changeData, false means filters by graph[dot]showItem and graph[dot]hideItem; feat: timebar supports to configure a function shouldIgnore to return true or false by user to decide whether the node or the edge should be ignored while filtering;

* fix: missing event with animated zoom (#3316)

* docs: update dagre docs

* feat: add translate animation (#3315)

* feat: add translate animation

* fix: add item type to the parameter of afterremoveitem event; (#3314)

* fix: add item type to the parameter of afterremoveitem event;

* fix: typo (#3311)

Co-authored-by: qinggniq <livewithblank@outlook.com>

* fix: use move for animated translate

* fix: interface signatures

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

* fix: edge label padding bug, closes: #3346;fix: update node with iconfont icon, the icon is updated to a wrong position, closes: #3348;

* fix: test problems

* chore: update version nums

* chore: update version nums after publishing

Co-authored-by: Fabio Tacchelli <fabio.tacchelli@gmail.com>
Co-authored-by: qinggniq <livewithblank@outlook.com>
2021-12-16 13:53:28 +08:00
longhe.li
ea03f39028
docs: iconfont rendered wrongly (#3339) 2021-12-14 16:09:30 +08:00
Yanyan Wang
b7483c06e8
fix: add item type to the parameter of afterremoveitem event; (#3314)
* fix: add item type to the parameter of afterremoveitem event;

* fix: typo (#3311)

Co-authored-by: qinggniq <livewithblank@outlook.com>
2021-11-23 17:39:19 +08:00
Yanyan Wang
6c0bc69e21
feat: better performance for item drawing; (#3253)
* chorre: try to optimize the performance of updating nodes

* feat: better performance for item drawing

* fix: combos is null in data validation

* fix: disable the capture of hull shape to enhance the performance of dragging canvas with hulls

* chore: upgrade antv matrix-util

* fix: upgrade layout to beta 5 to solve proxy problem for IE;

* chore: update version num

* docs: udpate CHANGELOG

* fix typo (#3307)

* feat: add zoom animation (#3264)

add jsdoc

* docs: fix 404 url (#3269)

* docs(zh): update url of 'Combo Force Layout'

* docs(en): update url of 'Combo Force Layout'

* Update TreeGraph.zh.md

* Update TreeGraph.en.md

* update

* fix: fix path shape will disappear after setItemState (#3291)

setItemState will change shape.attrs.path  into a object

* docs: update site doces

* chore: update version num

Co-authored-by: shiwu <shiwu.wyy@antgroup.com>
Co-authored-by: qinggniq <livewithblank@gmail.com>
Co-authored-by: Fabio Tacchelli <fabio.tacchelli@gmail.com>
Co-authored-by: EvanOne(文一) <1656081615@qq.com>
Co-authored-by: dgmpk <465316497@qq.com>
2021-11-16 16:34:47 +08:00
Yanyan Wang
09dc80276b
docs: update cdn urls for docs (#3257) 2021-10-20 10:03:32 +08:00
pwpow
5a339c017d
docs: Indented layoutCfg.indent support function (#3109)
* docs: Indented layoutCfg.indent support function

We can set node's horizontal offset dynamically with function,
which allow user to create custom layout.

Closes #3081

* docs: Indented layoutCfg.indent support function

Co-authored-by: powellpeng <powellpeng@tencent.com>
2021-10-15 15:48:57 +08:00
依枫
6ff409a3a8
feat: add view api fitViewByRule and perf drag-canvas-behavior (#3231)
fix: doc

feat: add test, perf code

feat: add test, perf code

feat: perf code

feat: perf code

chore: perf code

fix: fitView doc

chore: perf code

chore: perf code

chore: perf code
2021-09-30 12:07:09 +08:00
Yanyan Wang
4cb493c510
docs: refine docs (#3223)
Co-authored-by: shiwu <shiwu.wyy@antgroup.com>
2021-09-27 15:35:41 +08:00
shiwu
6e474ec623 fix: addBehavior with behavior string name, closes: #3020; fix: drag-node shouldEnd does not stop the dragging node behavior, closes: #3173; fix: drag-combo fails to merge combo with enableDelegate, closes: #3137; fix: uncombo does not trigger afterremoveitem event, closes: #3179; fix: error label background position when the edge label has position start, closes: #3129; fix: destroyed graph judgement, closes: #3203; fix: edge click event will not be triggered when the contextmenu is configure with trigger click, closes: #3201; feat: drag-combo with shouldEnd, closes: #3202; chore: information for failing to download image, closes: #2980; 2021-09-24 21:44:34 +08:00
shiwu
50b3d4da6c fix: update edge to be horizontal and the label is on wrong position; 2021-09-24 19:49:00 +08:00
shiwu
98e26ad4fe chore: udpate version nums 2021-08-24 16:27:01 +08:00
shiwu
efeeef4a28 fix: drag-node on mobile, closes: #3127; fix: removeBehaviors drag-canvas cause canvas:drag event cannot be listened; fix: drag-node with unexpected offseted edge end points, closes: #3118; feat: enableStack for drag-node behavior, closes: #3128; 2021-08-24 16:27:01 +08:00
rxliuli
1725ce29f2 docs(site): 修复节点分组 Combo 和 图形分组 Group 引用链接的错误 2021-08-23 18:01:25 +08:00
shiwu
8072ad50a4 docs: refine 2021-08-11 09:39:58 +08:00
shiwu
b04cd002fb docs: refine errors 2021-08-10 19:50:55 +08:00
shiwu
14eb061f91 fix: docs error 2021-08-09 18:51:15 +08:00
shiwu
921fc3637b fix: docs errors 2021-08-09 13:45:26 +08:00
Yanyan Wang
2177273045
Merge pull request #3096 from rxliuli/fix(site)_修复_site_模块在_windows_上本地启动无法设置环境变量的问题
docs(site): 修复 site 模块在_windows_上本地启动无法设置环境变量的问题,使用通用的 cross-env 包
2021-08-09 11:18:35 +08:00
Yanyan Wang
88b1e6f993
Merge pull request #3095 from rxliuli/docs_修复_G6_状态管理最佳实践引用链接错误
docs(site): 修复 G6 状态管理最佳实践引用链接错误
2021-08-09 11:17:19 +08:00
Yanyan-Wang
4330b2b1dc docs: update docs 2021-08-06 18:02:22 +08:00
rxliuli
6fc630d497 docs(site): 修复 site 模块在_windows_上本地启动无法设置环境变量的问题,使用通用的 cross-env 包 2021-08-06 13:04:02 +08:00
rxliuli
a84c5a9a4d docs(site): 修复 G6 状态管理最佳实践引用链接错误 2021-08-06 13:00:24 +08:00
Yanyan-Wang
4362812b7d feat: improve the update performance for nodes 2021-08-03 10:05:47 +08:00
Yanyan-Wang
5fd5cff1ba docs: update site docs 2021-08-03 10:05:47 +08:00
Yanyan-Wang
88bf20a5b6 fix: update site gallery 2021-08-03 10:05:47 +08:00
Yanyan-Wang
07fbcd83f9 docs: refine vite and g6 problem docs 2021-08-03 10:05:46 +08:00
Yanyan-Wang
e80cd6651c docs: vite and g6 building problem docs 2021-08-03 10:05:46 +08:00
Yanyan-Wang
1b9e0ba469 docs: update state-new doc 2021-08-03 10:05:46 +08:00
Yanyan-Wang
388e0709bc docs: update state style docs 2021-08-03 10:05:46 +08:00
rxliuli
a0af0094a1 docs(site): Fix the error of the FAQ reference link on the site
ref: https://g6.antv.vision/zh/docs/manual/FAQ/faq
2021-07-30 10:46:18 +08:00
Yanyan-Wang
8b05506e02 fix: typo 2021-07-01 15:38:03 +08:00
Yanyan-Wang
26b4fe19b9 chore: update version nums 2021-07-01 15:22:54 +08:00
Yanyan-Wang
1c2546070b docs: new example for long label show and copy 2021-07-01 10:48:54 +08:00
Yanyan-Wang
70a78dddcc fix: changeData without combos problem 2021-06-21 16:22:08 +08:00
多牧
935338fbf4 fix: image alt 2021-06-21 16:15:52 +08:00
多牧
f1ead08ccb feat: react node doc 2021-06-21 16:15:52 +08:00
Songhn
411614ce39 fix(docs): English Event docs typo 2021-06-21 16:10:21 +08:00
Yanyan-Wang
29db6d2a71 chore: update version num 2021-06-04 16:29:10 +08:00
Yanyan-Wang
a8e2d6726e chore: update algorithm 2021-06-04 16:29:10 +08:00
Yanyan-Wang
2737cf192f docs: update readme 2021-06-04 16:29:10 +08:00
Yanyan-Wang
4e56691b27 chore: remove mirror script for site 2021-05-26 17:32:01 +08:00
Yanyan-Wang
3be0027b79 chore: remove mirror script for site 2021-05-26 17:32:01 +08:00
Yanyan-Wang
2694bce521 docs: update layout pipe demmo 2021-05-26 17:32:01 +08:00
Yanyan-Wang
e1111b1787 docs: update menu docs 2021-05-26 17:32:01 +08:00
Yanyan-Wang
79bf44afe4 docs: update menu docs 2021-05-26 17:32:01 +08:00
Yanyan-Wang
898618ab51 feat: click trigger for context munu, closes: #2686; 2021-05-26 17:32:01 +08:00
Yanyan-Wang
0c8d4a3942 fix: minimap with zooming problem, closes: #2863 2021-05-26 17:32:01 +08:00
Yanyan-Wang
1fbed8801d feat: barWidth for interval bar chart for TimeBar plugin, closes: #2989; 2021-05-26 17:32:01 +08:00
Yanyan-Wang
a235f15898 docs: update iconfont icon for built-in nodes 2021-05-18 13:52:55 +08:00
Yanyan-Wang
fb4dd7ea09 fix: type problem for touch events 2021-05-18 13:52:55 +08:00
Yanyan-Wang
3060cd150d fix: legend with empty edges data 2021-05-18 13:52:55 +08:00
Yanyan-Wang
b7659a2ecd docs: update sublayout pipe demo 2021-05-18 13:52:55 +08:00
Yanyan-Wang
b1ea188cf5 chore: lint 2021-05-18 13:52:55 +08:00
Yanyan-Wang
b2897cbe04 docs: minor refine 2021-05-18 13:52:55 +08:00
Yanyan-Wang
e2225b7df0 docs: add docs for sublayout pipes 2021-05-18 13:52:55 +08:00
Yanyan-Wang
85ceb99baa docs: update legend docs 2021-05-18 13:52:55 +08:00