iT邦幫忙

2025 iThome 鐵人賽

DAY 25
0

今天來介紹 Typst 當中要繪製流程圖有哪些好用的工具。

1. Fletcher

Fletcher 繪製各式圖表來說算是非常好用的工具,他有內建各種形狀和路徑,可以快速且簡便地描述想繪製的圖。

https://ithelp.ithome.com.tw/upload/images/20250908/2011237683jJYkE79g.png

https://ithelp.ithome.com.tw/upload/images/20250908/20112376pTB5uR0Nq7.png

2. Pintorita

這個的底層是 mermaid,有點像從純文字直接畫出 UML 圖的類型。在使用上只需要將 pintora 的純文字內容直接送進去 render 就可以了。

#show raw.where(lang: "pintora"): it => pintorita.render(it.text)

mindmap
@param layoutDirection TB
+ Layer one
++ This is lowerlevel 2
+++ This is sub-lower level 3

https://ithelp.ithome.com.tw/upload/images/20250908/20112376xmvVgiAdKV.png

3. Finite

這個套件可以繪製有限狀態自動機。

#automaton((
  q0: (q0:"0", q1:"1"),
  q1:  (q2:"0", q3:"1"),
  q2:  (q4:"0", q5:"1"),
  q3:  (q6:"0", q0:"1"),
  q4:  (q1:"0", q2:"1"),
  q5:  (q3:"0", q4:"1"),
  q6:  (q5:"0", q6:"1"),
))

https://ithelp.ithome.com.tw/upload/images/20250908/20112376LS59vppp7E.png


上一篇
Day 24: 常用圖示 Icons
下一篇
Day 26: 排版的方便小工具
系列文
Typst 與 CeTZ:對演算法與程式設計超友好的排版製圖工具29
圖片
  熱門推薦
圖片
{{ item.channelVendor }} | {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言