一個用 Node.JS 撰寫的工具,可以將 Draw.IO 繪製的流程圖當成程式碼執行。
- Node.js v16.15.1
- 下載整個專案。
- 到 release 區下載檔案,放到 dist 目錄。
- 開啟 terminal 或 command prompt,切換目錄至 dist
- Windows 執行
dwe-win "..\tests\find-the-largest-number-and-calculate-the-sum.drawio"
- macOS 執行
dwe-macos "../tests/find-the-largest-number-and-calculate-the-sum.drawio"