• Introduction
  • AI Generate
  • Add Node
  • Edit node
  • Edit in text
  • Import Json
  • Import images
  • Import excel

Import Data

Import data must meet certain formats, and the imported file must be in JSON format. The example is as follows.

Import nodes and links


    // example1.json
    {
      "nodes": [
        {
          "title": "node01",
          "id": "1"
        },
        {
          "title": "node02",
          "id": "2"
        }
      ],
      "links": [
        {
          "source": "1",
          "target": "2"
        }
      ]
    }
The above example shows that there are two nodes node01 and node01, and a line connecting the two nodes.

It must be noted that the nodes ID must be unique.

Import only nodes


    // example2.json
    {
      "nodes": [
        {
          "title": "node01"
        }
      ]
    }
If the uploaded data only contains nodes, you only need to set the node title.