Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by mlhpdx

5 months ago

Do Mermaid class diagrams support generics (parameterized types)?

2 comments

mlhpdx

Reply

knsv  5 months ago

Yes

  • mlhpdx  5 months ago

    > … 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

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities