How to use xmind - 1 common examples

To help you get started, we’ve selected a few xmind examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github d2-projects / folder-explorer / src / store.js View on Github external
async EXPORT_TREE_XMIND (state) {
      const setting = state.SETTING.EXPORT.XMIND
      // 初始化
      const workbook = new xmind.Workbook({
        firstSheetId: setting.SHEET_NAME,
        firstSheetName: setting.SHEET_NAME,
        rootTopicId: state.CACHE.SCAN_FOLDER_PATH,
        rootTopicName: state.CACHE.SCAN_FOLDER_PATH
      function addTopics (items, parentTopic) {
        items.forEach(item => {
          const note = state.DB.NOTES[item.filePathFull]
          const replaceData = {
            data: {
              ext: item.ext
          const replace = require('@/util/replace.xmind.js').replace


The SDK of XMind Ltd.

Latest version published 7 months ago

Package Health Score

59 / 100
Full package analysis

Popular xmind functions