mermaid icon indicating copy to clipboard operation
mermaid copied to clipboard

Poll - next diagram type addition

Open knsv opened this issue 9 years ago • 190 comments

What additional digram type is should be added to mermaid?

  • PlantUML - usecase diagram
  • PlantUML - component diagram
  • PlantUML - object diagram
  • Improved dot support
  • other?

knsv avatar Jun 20 '15 09:06 knsv

BPMN 2.0 diagrams

nielsoledam avatar Jun 20 '15 15:06 nielsoledam

My choices in order of preference:

  1. class diagram
  2. state diagram

icylace avatar Jul 07 '15 19:07 icylace

+1

bastiao avatar Jul 07 '15 20:07 bastiao

ERD then class diagram :3

Gaoura avatar Sep 10 '15 19:09 Gaoura

Thanks for your vote! tors 10 sep 2015 kl. 21:02 skrev Gaoura [email protected]:

ERD then class diagram :3

— Reply to this email directly or view it on GitHub https://github.com/knsv/mermaid/issues/177#issuecomment-139346164.

knsv avatar Sep 11 '15 05:09 knsv

Seems like class diagrams are at the top but will wait for some more votes.

knsv avatar Sep 26 '15 14:09 knsv

I would prefer class diagram and use case diagram.

jackycute avatar Sep 29 '15 04:09 jackycute

want class diagram

YueLinHo avatar May 23 '16 02:05 YueLinHo

class diagram

paolofulgoni avatar Jul 19 '16 13:07 paolofulgoni

Hope there can be class diagram.

There's PlantUML supporting various types of diagrams, but it's not so elegant as mermaid is. Hope the source code of PlantUML would help the development.

HustLion avatar Jul 20 '16 15:07 HustLion

Work with class diagrams came quite far actually before I had to decrease work spent with mermaid. Mermaid uses the syntax from PlantUML. The diagram below actually renders. The remaining thing is to finalize the positioning of the labels. The positioning can be considered beta and fails sometimes. Also remaining is to document the usage of this. An example is available in the repository mermaid/test/examples/classDiagram.html

    classDiagram
      Class01 <|-- AveryLongClass : Cool
      Class03 *-- Class04
      Class05 o-- Class06
      Class07 .. Class08
      Class09 --> C2 : Where am i?
      Class09 --* C3
      Class09 --|> Class07
      Class07 : equals()
      Class07 : Object[] elementData
      Class01 : size()
      Class01 : int chimp
      Class01 : int gorilla
      Class08 <--> C2: Cool label

knsv avatar Jul 20 '16 16:07 knsv

Hmm, wanna give a try about documenting the class diagram and hopefully solve the positioning issue. Maybe assign this to me? No guarantee but I will try my best. @knsv

HustLion avatar Jul 23 '16 15:07 HustLion

@HustLion I welcome your assistance! Will assign it to you. Let me know if you have questions and I'll do my best to answer. 😀

knsv avatar Jul 23 '16 22:07 knsv

:smile: yay

HustLion avatar Jul 24 '16 02:07 HustLion

@knsv the work you've mentioned as for the class diagrams - is there some branch available to look at?

ciekawy avatar Jul 25 '16 15:07 ciekawy

In the master branch, have a look at ./test/examples/classDiagram.html @ciekawy

HustLion avatar Jul 27 '16 12:07 HustLion

I'm a (old school) database developer and I want to contribute with Data Flow Diagrams, but I don't know where/how to start.

DFDs, along with ERDs, are my preferred modeling tools. They're easy to read and much welcomed by any audience. I'll appreciate your direction.

References:

  • https://www.smartdraw.com/data-flow-diagram/
  • https://en.wikipedia.org/wiki/Data_flow_diagram

vladsanchez avatar Jan 18 '17 17:01 vladsanchez

@knsv Are there any plans on making a release with class diagrams available? It looks pretty well in the example.

stansidel avatar Jan 28 '17 04:01 stansidel

It is time. I am releasing it now. :)

knsv avatar Jan 29 '17 10:01 knsv

Is ERD in the works? I would love Chen notation to quickly map out entity relationships.

chanjohnathan avatar Mar 03 '17 23:03 chanjohnathan

I would like to see activity diagrams. I think this would be useful for UML, SysML (what I'm most interested in), and BPMN (with some small modifications). I'll start working on this.

danyeaw avatar Apr 13 '17 01:04 danyeaw

+1 for ERD and activity diagram

alinex avatar Apr 13 '17 04:04 alinex

Venn Diagrams.

ghost avatar Nov 18 '17 22:11 ghost

Just using Hugo and the DockDock theme for building our documentation. This theme integrates nicely with mermaid and from our real needs I would vote in the following order:

  1. Class diagram
  2. Usecase diagram
  3. ERD

Loving mermaid 👩 🐟

ivansabik avatar Jan 07 '18 22:01 ivansabik

Would like class diagrams. What is the status of class diagram. Can see are still experimental, but for how longer

rasmusmk avatar Jan 09 '18 07:01 rasmusmk

  1. class diagram
  2. state diagram
  3. usecase diagram

Bellian avatar Jan 23 '18 12:01 Bellian

  1. ERD please!!
  2. Improved Dot notation

vijosoco avatar Jan 24 '18 02:01 vijosoco

We would find BPMN really useful.

carukc avatar Feb 20 '18 11:02 carukc

  1. Venn
  2. ERD
  3. UML Class and BPMN would be great, but those have lots of moving parts. Maybe go for the low-hanging fruit first?

kbsizer avatar Feb 21 '18 21:02 kbsizer

  1. "many" and "1" on labels on existing UML diagrams
  2. State diagram
  3. Use case diagram

moppymopperson avatar Mar 23 '18 05:03 moppymopperson