今天來介紹 Typst 當中要繪製流程圖有哪些好用的工具。
Fletcher 繪製各式圖表來說算是非常好用的工具,他有內建各種形狀和路徑,可以快速且簡便地描述想繪製的圖。
這個的底層是 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
這個套件可以繪製有限狀態自動機。
#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"),
))