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: {
              name: item.name,
              note,
              ext: item.ext
            }
          }
          const replace = require('@/util/replace.xmind.js').replace

xmind

The SDK of XMind Ltd.

MIT
Latest version published 1 year ago

Package Health Score

52 / 100
Full package analysis

Popular xmind functions