手绘风格白板库
https://excalidraw.com/
https://github.com/excalidraw/excalidraw
https://juejin.cn/post/7004625492955365389#heading-0
用到的 File新技术
FileOpenPicker只有两个方法,PickSingleFileAsync和PickMultipleFilesAsync。两者都是打开对话框,需要await修饰
- Window.showOpenFilePicker
- Window.showSaveFilePicker
- window.showDirectoryPicker
- DataTransferItem.getAsFileSystemHandle
roughjs
https://roughjs.com/
Github https://github.com/rough-stuff/rough
手绘风格的 svg图形库
- 绘制直线
- 曲线
- 圆弧
- 多边形
- 圆和椭圆 ```jsx npm install —save roughjs
import rough from ‘roughjs’; ```
diagrams.net
在线的流程图
https://www.diagrams.net/
https://blog.csdn.net/daqiang012/article/details/111475087