set_branch_style
Configure a node's outgoing branch connector in an XMind file by setting line type, endpoint style, width, color, and pattern. Use it to control how child branches appear visually.
Instructions
设置某个节点向外分支的连线样式:分支类型(圆角折线/折线/直线/曲线/圆弧/手绘/圆角手绘)、终点样式(圆点/三角形/菱形/双箭头等)、粗细(极细/细/中等/粗/极粗)、颜色、线型。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>",
"node_id": "<node_id>"
},
"name": "set_branch_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | 要设置分支样式的节点 ID | |
| arrow_end | No | 终点样式:无 / 圆点 / 三角形 / 矛头 / 方形 / 菱形 / 鱼骨 / 双箭头 / 反三角 / 附着 / 钩形 | |
| auto_save | No | 是否自动保存(默认 false) | |
| file_path | Yes | .xmind 文件路径 | |
| line_type | No | 分支类型:圆角折线 / 折线 / 直线 / 曲线 / 圆弧 / 手绘 / 圆角手绘 | |
| line_color | No | 连线颜色,如 #FF6B6B 或 4E0D58 60% | |
| line_width | No | 线宽:极细 / 细 / 中等 / 粗 / 极粗,或 2pt | |
| line_pattern | No | 线型:实线 / 虚线 / 点线 / 点划线 / 无 |