echarts-doc
echarts-doc copied to clipboard
The description of options.series.graph.links may wrong

the docx write that the links.source is a string representing the name of source node on edge. Can also be a number representing the node index.
But in fact it it is the [ String(id) of source node ] .
In my test as for nodes the id is integer and the name is chinese character
as for edges the source is the string of node‘s id
the result is
when the source and target be set the name of node the result is

文档写的边的source和target是节点的name 实际上source和target 是节点的id的字符串 文档这里写错了