cf: https://github.com/laixintao/jupyter-dot-kernel
- chiao@kpchiao9600k-2204:~$ . .bashrc_anaconda
- (base) chiao@kpchiao9600k-2204:~$ pip install dot_kernel
- (base) chiao@kpchiao9600k-2204:~$ install-dot-kernel
- Done.
- In jupyter lab, open with dot kernel: Launcher -> Dot
- Edit the dot source in code cell and run.
- Shift right click mouse on image (Yes! need to press Shift key!).
- Select "另存圖片" or "在新分頁中開啟圖片"
Open in LibreOffice Draw:
- Export dot as svg, say a.svg by
dot -Tsvg -o a.svg a.dot - Insert image a.svg in draw
- Right click the image, and select 斷開
- All objects can be edited now
沒有留言:
張貼留言