Skip to content
MockFlow DevelopersGet an API key

Create a knowledge graph (bubble network) showing how concepts relate to each other, like an Obsidian graph view.

Updated 18 Sep 20261 min read

Send "type": "knowledge_graph".

Create a knowledge graph (bubble network) showing how concepts relate to each other, like an Obsidian graph view.

Also available as the MCP tool render_knowledgegraph. The same payload works through either surface.

Fields

data
nodesobject[]required

Array of nodes with id, label, and weight (1-8). Labels are 1-3 words, under 24 characters — longer text is pushed under the bubble and cut off after two lines.

Child attributes
idstringrequired
labelstringrequired
weightintegerrequired
edgesobject[]required

Array of edges with id, from, to, and label. Edge labels are 1-2 words, under 16 characters, and are left as "" when the relationship is obvious — a label on every edge crowds the canvas.

Child attributes
idstringrequired
fromstringrequired
tostringrequired
labelstring

Example

{
  "type": "knowledge_graph",
  "data": {
    "nodes": [
      {
        "id": "string",
        "label": "string",
        "weight": 0
      }
    ],
    "edges": [
      {
        "id": "string",
        "from": "string",
        "to": "string",
        "label": "string"
      }
    ]
  }
}
Was this page helpful?

Sign in to MockFlow

The same account you use in the app and on the API.

Forgot your password?
or
Continue with GoogleContinue with MicrosoftContinue with Apple