工具 API

xmind_set_topic_style

Set per-topic style overrides on topics by id (from each <!--t:id--> anchor): fill/text/line/border color, bold, italic, strike-through, and font size. The style you pass is applied to EVERY topic in topicIds, so put all topics that should share a look in one call (up to 200) — do NOT call this once per topic; use separate calls only for genuinely different styles. These overrides sit ON TOP of the sheet color theme — the topic renders with the override while its siblings keep the theme default, and the override survives a later theme switch. Use this to emphasize specific topics; to recolor the whole map use xmind_set_color_theme instead. For each field, pass a value to set it or null to clear that override (fall back to the theme). Colors are 6-digit hex (#RRGGBB). Use bold for emphasis — do NOT bump fontSize as an emphasis proxy.

productivityOAuth1 积分

调用信息

工具标识
xmind.xmind_set_topic_style
服务提供方
Xmind
平均响应
0 ms
近 7 天调用
0

输入参数

fileId必填

The ID of the mindmap file.

topicIds必填

The ids of the topics to style. All of them receive the same style — batch them into a single call (up to 200).

fillColor

Topic background color, 6-digit hex #RRGGBB, or null to clear.

textColor

Topic text color, 6-digit hex #RRGGBB, or null to clear.

lineColor

Topic branch line color, 6-digit hex #RRGGBB, or null to clear.

borderLineColor

Topic border color, 6-digit hex #RRGGBB, or null to clear.

fontWeight

'bold' to embolden, 'normal', or null to clear.

fontStyle

'italic', 'normal', or null to clear.

textDecoration

'line-through' to strike, 'none', or null to clear.

fontSize

Font size in pt (integer 8–72). Only resize when explicitly asked; null to clear.