Upgrade @zenuml/core to v3.31.1.

It fixes the issue https://github.com/mermaid-js/mermaid-cli/issues/584 among other improvements.
This commit is contained in:
MrCoder
2025-05-09 19:20:20 +10:00
parent 1b044a24fa
commit 107b6cae87
3 changed files with 25 additions and 21 deletions

View File

@@ -10,16 +10,20 @@
<h1>Zenuml demos</h1>
<pre class="mermaid">
zenuml
title Sync Messages (Design Pattern: Adapter)
@Starter(Client)
Adapter.interfaceMethod() {
translateParameter(parameter)
result = Implementation.implementationMethod()
translateResult()
return translatedResult
}
BookLibService.Borrow(id) {
User = Session.GetUser()
if(User.isActive) {
try {
BookRepository.Update(id, onLoan, User)
receipt = new Receipt(id, dueDate)
} catch (BookNotFoundException) {
ErrorService.onException(BookNotFoundException)
} finally {
Connection.close()
}
}
return receipt
}
</pre>
<pre class="mermaid">
zenuml