1. 15
  1. 23

    I’d argue those aren’t uml, just the same diagram types that uml also happened to use. State machine and sequence diagrams are a lot older than uml.

    1. 3

      Yeah, all the diagram types listed here far predate UML, and would clearly be in use without UML ever existing.

      1. 2

        True, but the standardisation from UML has been useful; admittedly the whole UML spec is a far too heavy though

    2. 8

      I use UML’s cardinality notation regularly for database diagrams. lower_bound..upper_bound:

      ---------  1..1             0..*  ------------
      | Posts |-------------------------| Comments |
      ---------                         ------------

      (“A post has 0 to many comments; a comment has exactly one post”.)

      1. 7

        Using mermaid as proof that UML isn’t dead largely misunderstands what UML was — deeply intertwined with OOP and waterfall. Using class to define a class also doesn’t mean you’re writing C++.

        1. 3

          I wouldn’t say UML is dead, but maybe not a sexy topic in itself. Mermaid is proof that graphs/diagrams, UML or not, are still pretty handy to have to visualize large-scale projects. If I lived in an ideal world, I would love to use Luna/Enso for practical projects, but I am a bit biased as I do enjoy PureData still.

          I’m still working backwards converting Racket code into diagrams for fun over here.

          1. 1

            I’ve not heard of either of those tools, but they both look very interesting, thanks!

          2. 3

            op likes mermaid, I found it buggy and finicky. I personally started using plantuml and I find it miles above quality wise. And has about the same integrations (eg emacs, vscode) or are one shell command away.

            1. 3

              Same here. Plantuml seems to be the IMHO the best abstraction / DSL to create a multitude of diagrams. Despite my dislike for gantt charts, I used Plantuml recently to generate high-level timelines and it was fun. Recent updates made it faster so that editors that integrate it now only freeze for a fraction of a second as opposed to 2s for earlier versions.