plantuml使用

使用方法

java -jar plantuml.1.2021.8.jar /Users/imac/Documents/coderep/understandchain/md/filecoin_puml/phala.puml



## 如果需要math等數(shù)學(xué)公式插件,可以下載相應(yīng)的包,然后將jar文件放到跟plantuml jar文件同一個(gè)目錄下
imacdeiMac:tools imac$ tree
.
├── batik-all-1.7.jar
├── jlatexmath-minimal-1.0.3.jar
├── jlm_cyrillic.jar
├── jlm_greek.jar
├── plantuml-jlatexmath.zip
├── plantuml.1.2021.8.jar


## uml目錄的文件內(nèi)容為


@startuml  phala 

'節(jié)點(diǎn)注冊(cè)過(guò)程 gatekeeper或者miner
gatekeeper -> gatekeeper: pRuntime.GetIdentity

gatekeeper -> gatekeeper : pRuntime.GetRAQuote

gatekeeper -> Remote_Attestation_Service : q

Remote_Attestation_Service  -> gatekeeper: q_signed

note right
Try also
<math>d/dxf(x)=lim_(h->0)(f(x+h)-f(x))/h</math>
<math>P(y|bb"x") or f(bb"x")+epsilon</math>
end note
' gatekeeper -> blockchain : q_signed


@enduml
uml效果
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容