This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch 4.9.0
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git


The following commit(s) were added to refs/heads/4.9.0 by this push:
     new 93088ed  doc: add auto curveness apache/incubator-echarts#12590
93088ed is described below

commit 93088ed326f195f4126c7110367fb107d43e3309
Author: zakwu <123537...@qq.com>
AuthorDate: Thu Jul 9 09:55:34 2020 +0800

    doc: add auto curveness apache/incubator-echarts#12590
---
 en/option/series/graph.md |  9 +++++++++
 zh/option/series/graph.md | 10 ++++++++++
 2 files changed, 19 insertions(+)

diff --git a/en/option/series/graph.md b/en/option/series/graph.md
index 389da59..05effc0 100644
--- a/en/option/series/graph.md
+++ b/en/option/series/graph.md
@@ -213,6 +213,15 @@ The label style of node in this category.
 #### label(Object)
 {{ use:partial-label(prefix="####") }}
 
+## autoCurveness(number|Array) = 20
+
+For the situation where there are multiple links between nodes, the curveness 
of each link is automatically calculated.
+
+When set to `number`, it indicates the length of the edge curvenness array 
between two nodes, and the calculation result is given by the internal 
algorithm.
+
+When set to `Array`, it means that the curveness array is directly specified, 
and the multilateral curveness is directly selected from the array.
+
+**Notice:** if [lineStyle.curveness](~series-graph.lineStyle.curveness) has 
been set, this property is invalid.
 
 
 ## data(Array)
diff --git a/zh/option/series/graph.md b/zh/option/series/graph.md
index 3eacedb..058dde3 100644
--- a/zh/option/series/graph.md
+++ b/zh/option/series/graph.md
@@ -261,6 +261,16 @@ edgeSymbol: ['circle', 'arrow']
 {{ use:partial-label(prefix="####") }}
 
 
+## autoCurveness(number|Array) = 20
+
+针对节点之间存在多边的情况,自动计算各边曲率。
+
+设置为 `number` 时,表示两点间边曲率数组的长度,由内部算法给出计算结果。
+
+设置为 `Array` 时,表示直接指定曲率数组,多边曲率会从数组中直接按顺序选取。
+
+**注意:** 如果设置 [lineStyle.curveness](~series-graph.lineStyle.curveness) 则此属性失效。
+
 ## data(Array)
 
 关系图的节点数据列表。


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to