Eraser logo
Eraser
Create
Roadmap
Feedback
Feature Requests
Voters
Kirk Bushell
L
Layton Burchell
Lukáš Kratochvíl
shayashi
T
Takahiro Ethan Ikeuchi
A
Andreas
Michael Jeremias
T
Teddy Park
K
Kevin Cadd
R
Rob
and 2 more...
Powered by Canny
Support class diagrams as a diagram-as-code type
under review
member badge
Shin Kim
July 27, 2023
member badge
Yoel Tadmor
Merged in a post:
No class diagrams?
Kirk Bushell
Been trying to figure out how to write class diagrams using Eraser - we've been able to do everything else so far, and we're now stuck trying to design the domain model in our code within the diagrams.
October 16, 2024
March 18, 2025
member badge
Shin Kim
You're right that class diagrams are currently missing.
Have you looked at ERDs to achieve a similar look?
https://docs.eraser.io/docs/entity-relationship-diagrams
·
October 16, 2024
·
Reply
Kirk Bushell
Shin Kim It can't do what we need - how do you represent interfaces, abstract classes, dependencies.etc? You can use ERD, but the outcome is less than ideal, as it's not designed for that.
·
October 16, 2024
·
Reply
Ehsan @ Eraser
Requested by Takahiro Ikeuchi (via Slack communit):
I’d like to draw class diagrams (not ER diagrams) on Eraser. In the context of DDD, class diagrams are more important than data model diagrams.
That is a class diagram using Mermaid JS. The characteristics of a class diagram, which differentiate it from an ER diagram, are as follows:
  • It can show relationships between classes such as inheritance and interface implementation.
  • It can define class behaviors(= methods).
These features seem to be currently unavailable in Eraser's ER diagrams.
·
June 13, 2024
·
Reply
Kirk Bushell
Ehsan @ Eraser This was exactly our use-case as well. We can do everything else BUT class diagrams, which seems quite the oversight.
·
October 16, 2024
·
Reply
member badge
Shin Kim
marked this post as
under review
·
February 4, 2024
·
Reply
R
Rob
UML would be awesome! Something like:
https://www.umletino.com/umletino.html
Doesn't even have to have all the bells and whistles, I just like to brainstorm with UML and would love to use this shiny new toy to do it :)
·
July 31, 2023
·
Reply
Kirk Bushell
Rob UML is garbage! I really hope they don't do it that way =\ even Uncle Bob says their ideas behind UML was misplaced and was an awful idea in hindsight./
·
October 16, 2024
·
Reply
R
Rob
Kirk Bushell I don't think anyone uses UML by the book these days. I just would like the ability to make class diagrams so things are a bit more flexible.
·
October 17, 2024
·
Reply
Kirk Bushell
Rob Yes, without the use of UML lol
·
October 17, 2024
·
Reply
Powered by Canny