• Getting Started
  • Ai Generated Diagram
  • Add Node
  • Edit node
  • Add Path
  • Edit path
  • Import Json
  • Import data
  • Import images
  • Export data
  • Add By Write

Import Data

Import data must meet certain formats, and the imported file must be in JSON format. The example is as follows.
You can download more importable json data at this URL.

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.
© 2024 AddGraph All rights reserved.About UsFeedbackPrivacy PolicySupport TermsCancellation Policy