Board kit command

layout.mindmap

Lay out mind map

Re-lays out the whole mind map that a node belongs to, keeping the root in place.

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

Parameters

Parameters of layout.mindmap
NameTypeRequiredDescription
rootstringyesAny node of the mind map

Call through board_run

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

The required parameters, with placeholders for their types: not a tested example. 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": {
    "root": {
      "description": "Any node of the mind map",
      "type": "string",
      "x-khp-types": [
        "Element"
      ]
    }
  },
  "required": [
    "root"
  ],
  "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.