编辑器最左边“插入绘图”按钮,可以进入绘制流程图的页面。虽然编辑时可以给单个节点添加超链接,但是编译后的图片只会保留一个超链接。
```diagram
PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIHdpZHRoPSIyMzZweCIgaGVpZ2h0PSIxOTFweCIgdmlld0JveD0iLTAuNSAtMC41IDIzNiAxOTEiIGNvbnRlbnQ9IiZsdDtteGZpbGUgaG9zdD0mcXVvdDtlbWJlZC5kaWFncmFtcy5uZXQmcXVvdDsgbW9kaWZpZWQ9JnF1b3Q7MjAyMy0wMi0yMFQxNTo0MTo0OS45MThaJnF1b3Q7IGFnZW50PSZxdW90OzUuMCAoV2luZG93cyBOVCAxMC4wOyBXaW42NDsgeDY0KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvMTA5LjAuMC4wIFNhZmFyaS81MzcuMzYmcXVvdDsgdmVyc2lvbj0mcXVvdDsyMC44LjIwJnF1b3Q7IGV0YWc9JnF1b3Q7Rlh0X0ZCV3hYM0lualpKbWFHVGUmcXVvdDsgdHlwZT0mcXVvdDtlbWJlZCZxdW90OyZndDsmbHQ7ZGlhZ3JhbSBpZD0mcXVvdDtuNGE4MXdlWjVibjJoNGxBY1FLMyZxdW90OyBuYW1lPSZxdW90O+esrCAxIOmhtSZxdW90OyZndDt6WmJCYnFNd0VJYWZoanZnTkxzNU5tbTNQZXlxbFhMbzJZRXBXR3NZWklaQzl1blhGQnR3UXBTc1pGVjd3djVuQmp5ZmYxc0ViRmQwVDRwWCtTOU1RUVp4bUhZQmV3amlPQW9aMDQ5ZU9RN0tPcm9iaEV5SjFDUk53bDc4QVZ0cDFFYWtVRHVKaENoSlZLNllZRmxDUW83R2xjTFdUWHRINlg2MTRobWNDZnVFeTNQMVRhU1VHM1Vk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4dD48L2E+PC9zd2l0Y2g+PC9zdmc+
可以给每个节点添加超链接,指向对应的页面。
```mermaid
flowchart LR
classDef group fill:#f96
root[("root")] --> Cataclysmic:::group
root[("root")] --> Eruptive:::group
root[("root")] --> Eclipse_dust:::group
root[("root")] --> Rotation:::group
root[("root")] --> Eclipse:::group
root[("root")] --> Microlensing:::group
root[("root")] --- Pulsation:::group
click Pulsation "/Pulsation"
Pulsation --- 1["PV Tel"]
--- 2["BLAP"]
--- 3["V361 Hya"]
--- 4["V1093 Her"]
--- 5["PG 1159"]
--- 6["V777 Her"]
Pulsation --- 7["ZZ Ceti"]
--- 8["LPV"]
--- 9["L #40;Irregulars#41;"]
--- 10["M (Miras#41;"]
--- 11["SR #40;Semi–regulars#41;"]
--- 12["SARV – OSARG"]
Pulsation --- 13["Solar–like"]
--- 14["RR Lyrae"]
--- 15["Cepheids"]
--- 16["CW"]
--- 17["RV Tau"]
--- 18["Gamma Dor"]
Pulsation --- 19["roAp"]
--- 20["PMS DeltaScuti"]
--- 21["DST"]
--- 22["SXPHE"]
--- 23["SPB"]
--- 24["BCEP"]
Pulsation --- 25["Hot OB supergiants"]
--- 26["SPBe"]
--- 27["ACYG"]
Cataclysmic --- 29["ZAND"]
--- 30["Supernovae"]
--- 31["Novae"]
--- 32["UG"]
Eruptive --- 34["WR"]
--- 35["LBV"]
--- 36["GCAS"]
--- 37["FU"]
Eclipse_dust --- 39["RCB"]
--- 40["DY Per"]
Rotation --- 42["FKCOM"]
--- 43["ELL"]
--- 44["SXA"]
--- 45["ACV"]
--- 46["BY Dra – UV Ceti"]
--- 47["RS CVn"]
Eclipse --- 49["EA/EB/EW"]
--- 50["Planetary transits"]
--- 51["Asteroid occultation"]
更适合的一种图,但是是新出的feature,高于wiki.js集成的版本。在页面信息->脚本中添加新版的js文件即可使用,似乎一个页面只能添加一个,可见第二个图就不是最新版渲染的了。
坑爹的是不支持超链接。
<pre class="mermaid">
mindmap
((变星之树))
(Microlensing)
(Pulsation)
["PV Tel"]
["BLAP"]
["V361 Hya"]
["V1093 Her"]
["PG 1159"]
["V777 Her"]
["ZZ Ceti"]
["LPV"]
["L (Irregulars)"]
["M (Miras)"]
["SR (Semi-regulars)"]
["SARV - OSARG"]
["Solar-like"]
["RR Lyrae"]
["Cepheids"]
["CW"]
["RV Tau"]
["Gamma Dor"]
["roAp"]
["PMS DeltaScuti"]
["DST"]
["SXPHE"]
["SPB"]
["BCEP"]
["Hot OB supergiants"]
["SPBe"]
["ACYG"]
(Cataclysmic)
["ZAND"]
["Supernovae"]
["Novae"]
["UG"]
(Eruptive)
["WR"]
["LBV"]
["GCAS"]
["FU"]
("Eclipse(dust)")
["RCB"]
["DY Per"]
(Rotation)
["FKCOM"]
["ELL"]
["SXA"]
["ACV"]
["BY Dra - UV Ceti"]
["RS CVn"]
(Eclipse)
["EA/EB/EW"]
["Planetary transits"]
["Asteroid occultation"]
</pre>
<pre class="mermaid">
mindmap
((变星之树))
(Pulsation)
["PV Tel"]
["BLAP"]
["V361 Hya"]
["V1093 Her"]
["PG 1159"]
["V777 Her"]
["LPV"]
["ZZ Ceti"]
["L (Irregulars)"]
["M (Miras)"]
["SR (Semi-regulars)"]
["SARV - OSARG"]
["Solar-like"]
["RR Lyrae"]
["Cepheids"]
["CW"]
["RV Tau"]
["Gamma Dor"]
["roAp"]
["DST"]
["PMS DeltaScuti"]
["SXPHE"]
["SPB"]
["BCEP"]
["ACYG"]
["SPBe"]
["Hot OB supergiants"]
(Cataclysmic)
["ZAND"]
["Supernovae"]
["Novae"]
["UG"]
(Eruptive)
["WR"]
["LBV"]
["GCAS"]
["FU"]
("Eclipse(dust)")
["RCB"]
["DY Per"]
(Rotation)
["FKCOM"]
["ELL"]
["SXA"]
["ACV"]
["BY Dra - UV Ceti"]
["RS CVn"]
(Eclipse)
["EA/EB/EW"]
["Planetary transits"]
["Asteroid occultation"]
(Microlensing)
</pre>