function getMinCursorSize() {
    let chartingSpaceNode = UI.projects.workspaces.spaces.designSpace.workspace.getHierarchyHeadByNodeType('Charting Space')
        if (chartingSpaceNode !== undefined) {
            if (chartingSpaceNode.spaceStyle !== undefined) {
                configStyle = JSON.parse(chartingSpaceNode.spaceStyle.config)
            } else {
              configStyle = undefined
            }
        } else {
            configStyle = undefined
        }

        if (configStyle === undefined || configStyle.minCursorSize === undefined) {
          let cursorSize = 10
          return cursorSize
      } else {
          let cursorSize = eval(configStyle.minCursorSize)
          return cursorSize
      }
  }
This function gets the minCursorSize if it is defined at the Space Style node connected to the Charting Space node.