←back to thread

230 points knsv | 2 comments | | HN request time: 0.423s | source
Show context
mlhpdx ◴[] No.42740171[source]
Do Mermaid class diagrams support generics (parameterized types)?
replies(1): >>42740279 #
1. knsv ◴[] No.42740279[source]
Yes
replies(1): >>42740463 #
2. mlhpdx ◴[] No.42740463[source]
> … though generics that include a comma are currently not supported. [1]

So yes-ish, only in the most basic way.

[1] https://mermaid.js.org/syntax/classDiagram.html