Mermaid JS: Finally There's A Great UML & Diagram Drawing Tool

Mermaid JS: Finally There's A Great UML & Diagram Drawing Tool

ArjanCodes

2 года назад

86,473 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Anastasiya Petrovych
Anastasiya Petrovych - 24.07.2023 17:09

Hi! Thanks for sharing about Mermaid. Do u know is it possible to integrate with API to create module which accepts yaml or json file with data and returns the diagram? Thought about generating description for mermaid in chatgpt but later?

Ответить
Abhash Kumar Singh
Abhash Kumar Singh - 28.06.2023 15:28

Nice video. I found it while I was struggling with Mermaid syntax. Let me post my problem here.
I have to represent a generic object. How do I represent
std::map<int,string>pMap;
in mermaid??

Ответить
Suman Khanra
Suman Khanra - 07.04.2023 20:55

Did you tried d2 ?

Ответить
Ben Herbst
Ben Herbst - 14.03.2023 00:36

Subscribed

Ответить
DRMR
DRMR - 11.02.2023 12:52

I've been using PlantUML for the same purpose. In Gitlab you can use ```plantuml ``` code-box in your markdown (both documents and comments).

Ответить
slashd
slashd - 20.01.2023 13:00

VSCode extension Polyglot Notebooks now has mermaid support build in and its now supereasy to create uml. Woohoo!

Ответить
TheSilvaduxk
TheSilvaduxk - 05.01.2023 22:14

Yes I liked and subscribed! In researching the Cognitive Science of Diagrams for several years (including peer-reviewed presentations in Australia, Germany and Stanford AAAI 2010) this tutorial was very enlightening. I will view your other videos, with an eventual goal of forming a 'virtual' collaboration! @ajcodes

Ответить
Purvi Makwana-Swallow
Purvi Makwana-Swallow - 18.11.2022 14:50

I can't get the erDiagram to render - did anyone else have this issue?

Ответить
Kyle Clark
Kyle Clark - 05.11.2022 00:50

Awesome walkthrough! -- the exact tutorial what I was looking for.

Ответить
Miguel Martinez
Miguel Martinez - 05.08.2022 13:14

For those who commented that would change from drawio to something like this or plantUML, what are your reasons? Just curiosity. I have tried plantUML but in the end I didn't like that I have to render the diagram to upload it to readmes or send it to someone else.

Drawio in the beginning was not working as I wanted but since I read someone in stackoverflow where you can change the extension of drawio files to write directly to svg files. It changed everything. I would like the programming approach to make diagrams but prefer more the portability/versatility of drawio.

Ответить
JP Ryding
JP Ryding - 25.07.2022 21:08

Wow, this looks awesome. I've just started to learn coding and I really struggle with trying to get the visual flowcharts running the way I like. Will def. give this a go, thanks!

Ответить
Mehmood Yousuf
Mehmood Yousuf - 25.07.2022 15:17

I signed up a few times but didn’t get any pdf!

Ответить
הוד גמרסני
הוד גמרסני - 09.07.2022 09:06

thank you for the great video, helped me a lot!

Ответить
Miguel Cortes
Miguel Cortes - 20.06.2022 20:18

Loved the oauth example for sequence diagram. Thanks for sharing.

Ответить
samuel
samuel - 16.06.2022 20:41

keep with OOP man functional programming is awful

Ответить
D M
D M - 21.05.2022 11:44

classDiagrams are just tables with extra steps

Ответить
Jeroen
Jeroen - 14.04.2022 14:32

I don't believe Mermaid is mature enough to compete with PlantUML. It seems like it just contains a subset of the puml features.

Ответить
Ashley Oliver
Ashley Oliver - 11.04.2022 16:33

Exporting as a PDF works fine for me from Code. I use Jebbs `Markdown Extended` and Matt Bierner's `Markdown Preview Mermaid Support`. Just right-click and Export to File. Not sure why it isn't working for you.

Ответить
John Private
John Private - 11.04.2022 03:16

Thank you for introducing Mermaid. I found the option to turn this feature on in PyCharm, and it works like a dream :)

Ответить
Enrique Sapien
Enrique Sapien - 07.04.2022 03:22

I recommend StarUML and WhiteStarUML. Great open source projects (StarUML also in commercial version). Long time user.

But I will definitely check this one out too!

Ответить
Tim Rowe
Tim Rowe - 07.04.2022 00:50

Is it only for VS Code? I can't get it working in Visual Studio 2022 (and the documentation is *appalling*, with most of the links going to the wrong places, and the promised material not present even when you do go to the right place).

Ответить
Jim Korman
Jim Korman - 06.04.2022 02:32

Nice - I used the Mermaid Live to follow along with you. Quite useful.

Ответить
Machado dos Santos
Machado dos Santos - 04.04.2022 20:53

I use PlantUML.

Ответить
marco borgna
marco borgna - 04.04.2022 15:28

we use MermaidJS to visualize our in house made worklfow manager: great tool!

Ответить
Eeyvee used Failure
Eeyvee used Failure - 04.04.2022 13:23

I once got bullied on Stackoverflow for posting a code in comic sans font.

Ответить
Daniel Brookshier
Daniel Brookshier - 03.04.2022 19:25

Yikes, but I am a MagicDraw guy since 95. FYI for functional, use Activity diagrams. You might start looking at SysML 2 which is web-based and has a similar interface.

Ответить
Kessler DuPont
Kessler DuPont - 26.03.2022 21:41

I like to use Mark Text for writing and viewing markdown. It comes with Mermaid built in.

Ответить
Michal Soukup
Michal Soukup - 26.03.2022 09:53

its unfinished plantuml copy

Ответить
Valeriia Protsko
Valeriia Protsko - 23.03.2022 16:13

What a great tool! By the way, there is control over where the blocks are displayed - you just have to move the text to the right position. If you have 3 transitions than the order of the lines will be the same as the line numbering of the text. Once you change text lines the block position change on the graph.

Ответить
XRu lescu
XRu lescu - 23.03.2022 00:12

Are there any tools that do the opposite, analize my code and output a flow chart?

Ответить
ZeZa
ZeZa - 22.03.2022 07:00

In sequence diagrams you can use aliases like you did in the flowchart by doing "participant C as Client". Now you can use C instead of Client, but Client will show as the participant's name

Ответить
Li Tan
Li Tan - 21.03.2022 22:54

Thanks for the great tutorial on the diagrams

Ответить
Roy
Roy - 18.03.2022 16:31

How do you feel this compares to plant uml?

Ответить
Andres Cabezas
Andres Cabezas - 18.03.2022 01:38

I am using Plantuml....

Ответить
Kęstutis
Kęstutis - 17.03.2022 18:06

It's really great, if by "great" you mean "terrible" ;)
Seriously though, this is quite interesting. But it's still a drawing tool, even if you draw by typing. This is not a UML modeling tool and if we take any proper CASE tool supporting UML it will be more convenient and the result will actually be a UML model, not just a diagram that happens to follow the graphical notation prescribed in UML. But hey, whatever floats your boat!

Ответить
collin visser
collin visser - 17.03.2022 14:30

Very good video - thx

Ответить
Robert Brummayer
Robert Brummayer - 17.03.2022 12:50

Greetings from Austria to the Netherlands, Arjan :). Great video as usual. I also pretty much never used UML drawing tools because of the same reasons you mentioned. Recently, I tried PlantUML and was surprised how well it worked. Thanks for pointing out another alternative. I did not know about Mermaid.

Ответить
edgeeffect
edgeeffect - 16.03.2022 13:45

You're not the only person who's recommended Mermaid... I've got to give it a go. I've struggled with Graphviz/Dot in the past but that was just a little bit too complicated. I hope, next time I need a diagram, Mermaid will save the day.

Ответить
AchterHetBureau
AchterHetBureau - 15.03.2022 20:57

Echt ziek goeie video's, man!

Ответить
Thomas Karner
Thomas Karner - 14.03.2022 21:04

If someone wants to create a Mermaid entity relationship diagram from an existing database - I created a small tool for that (it is called mermerd and is available on github)
Mermaid is in my opinion perfect for prototyping ideas if your get used to the syntax

Ответить
Alchemist
Alchemist - 14.03.2022 14:08

Cool thing, this Mermaid. It reminds me of the approach of LaTeX using TikZ and possibly mhchem.

Ответить
Empusas1
Empusas1 - 14.03.2022 10:35

There is another plugin called mermaid export.

Ответить
Mário Henrique Adaniya
Mário Henrique Adaniya - 14.03.2022 06:18

I don't like the generic apps like u mention as well, and I have been using PlantUML... kinda like Mermaid...

Ответить
Ali F.
Ali F. - 14.03.2022 01:56

Thank you very much for this video. This is so great !

Ответить
Sorrow Seal
Sorrow Seal - 13.03.2022 03:30

I use code2flow.

Ответить
Iliyan Iliev
Iliyan Iliev - 12.03.2022 17:41

Another amazing video. THANKS

Ответить
Andre Hoeh
Andre Hoeh - 12.03.2022 15:04

Mermaid to PDF in Vs Code is possible, I do it with the "Markdown PDF" extension. I cant say, why it does not work for your system. Maybe because I a m using "Markdown Preview Enhanced" as markdown renderer in Vs Code.

Ответить