Board kit command

mindmap.addSibling

Add sibling

Adds a node next to a non-root mind-map node, under the same parent.

Kit
Board 0.1.0 (.kboard)
Changes the document
yes
Acts on
node (one id), which a run step’s on fills

Parameters

Parameters of mindmap.addSibling
NameTypeRequiredDescription
nodestringyesA node other than the root
textstringnoThe new node's text

Call through board_run

text
board_run {
  "path": "<file>.kboard",
  "steps": [{ "command": "mindmap.addSibling", "params": { "node": <string> } }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: text. board_run answers the step’s result in completed[i].result.

Result

The kit gives no result schema for this command.

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "node": {
      "description": "A node other than the root",
      "type": "string",
      "x-khp-types": [
        "Element"
      ]
    },
    "text": {
      "description": "The new node's text",
      "type": "string"
    }
  },
  "required": [
    "node"
  ],
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (board_commands through @kition/[email protected], built from KitionAI/kition-board@e78c190). As data: commands.jsonl.