Echarts - Graph

Hello,
i want to create a connection graph using Generic ECharts View like that: Examples - Apache ECharts.
In this example json is loading file using an external JavaScript library, but i found way to load asynchronously. (const dana = await inputTable.getColumn(“json”)).
I transformed my data to json and looks like this:

{
  "links" : [ {
    "id" : "0",
    "value" : "test",
    "source" : "0",
    "target" : "1"
  }, {
    "id" : "1",
    "value" : "test",
    "source" : "1",
    "target" : "0"
  } ],
  "nodes" : [ {
    "id" : "0",
    "name" : "NODE1",
    "category" : 0
  }, {
    "id" : "1",
    "name" : "NODE2",
    "category" : 1
  }]
}

Now i have problems, becouse i dont know how to load this into: data:,links: and category:. In example from link, data:

        data: graph.nodes,
        links: graph.links,
        categories: graph.categories,

dont work in my case. I tried to separate nodes, links and categories in 3 different variables with no success.
Does anybody know how to load this data ? Can be from table or json.