This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git
The following commit(s) were added to refs/heads/master by this push:
new ddcc01b improve the en doc on the source/target property of graph
series.
ddcc01b is described below
commit ddcc01bc0957493e61c805a7e92de3a802c392a3
Author: pissang <[email protected]>
AuthorDate: Mon Sep 23 12:17:52 2019 +0800
improve the en doc on the source/target property of graph series.
---
en/option/series/graph.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/en/option/series/graph.md b/en/option/series/graph.md
index 4d42170..4d1d786 100644
--- a/en/option/series/graph.md
+++ b/en/option/series/graph.md
@@ -282,10 +282,10 @@ links: [{
}]
```
-### source(string)
-[name of source node](~series-graph.data.name) on edge
-### target(string)
-[name of target node](~series-graph.data.name) on edge
+### source(string|number)
+A string representing the [name of source node](~series-graph.data.name) on
edge. Can also be a number representing the node index.
+### target(string|number)
+A string representing the [name of target node](~series-graph.data.name) on
edge. Can also be a number representing node index.
### value(number)
value of edge, can be mapped to edge length in force graph.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]