The problem that the connection of graph diagrams is not online in ECharts.

use series [I]-graph.data [I] .name can be displayed normally, but do not want to use name.
returned data format:

[
{
                "mName":"",
                "depth":2,
                "name":"",
                "model":"asgdasgdsa",
                "category":2,
                "did":"12345678"
            }]

I don"t want to use the name, above. I want to use did for association. The correspondence in
links is all written.
the question is: how to use did for processing without using name,

Feb.27,2021

http://echarts.baidu.com/opti.
document is clearly written either by name or by index.
you have written links, in dids either save a did- > name or indexed kv collection, and replace your written dids, in batches, for example

kv = {"12345678": "", "12345679": ""}

{
    source: "12345678", // kv["12345678"]
    target: "12345679", //kv["12345679"]
},

either modify the source code of the underlying echarts and change name to your did

Menu