New MindMapBuilderAPI functions. See Example 11 in the API documentation.
getGlobalConfig: {
summary: "Returns the global map and layout configurations, including custom color palette",
params: [],
returns: "MMResult<{config:object}>",
},
setGlobalConfig: {
summary: "Updates the global map and layout configurations and persists them",
params: [{
name: "patch",
type: "object",
required: true
}],
returns: "Promise<MMResult<{success:boolean}>>",
},
getConfigSchema: {
summary: "Returns the schema, allowed values, and definitions for map configurations",
params: [],
returns: "MMResult<{schema:object}>",
},