mermaid icon indicating copy to clipboard operation
mermaid copied to clipboard

Venn Diagram Syntax

Open arjansingh opened this issue 2 years ago • 75 comments

Problem

I'm always frustrated when I have to manually create Venn diagrams of more than 4 intersecting circles. It might sound trivial but arranging complex Venn diagrams in a legible manner is annoying and hard with most of the standard diagraming tools I've used.

Request

This was already brought up many years ago in #200 but Venn diagram in syntax in Mermaid would be great.

Venn Diagrams are basically just a visualization of set theory. So the syntax would just have to implement basic set operations:

  • Unions
  • Intersections
  • Compliments
  • Differences

Potential Syntax

Something like the following could be a good syntax:

vennDiagram
  set A
  set B
  set C

  intersect A B
  union B C
  relativeComplement A C

I know everyone is busy. I am just wondering what the general interest is from the community on prioritizing this versus other new diagram formats.

arjansingh avatar Dec 22 '21 19:12 arjansingh

It would be useful, for sure. There have been multiple times when I looked to see if the gods had finally conspired to make Venn diagrams in mermaid a thing…

that being said is venn more useful than….. That, idk

wolfspyre avatar Dec 22 '21 20:12 wolfspyre

Yup, I agree. I think a useful strategy here would be to ask anyone who wants it to 👍 the issue. If it's got enough community interest. I'd be happy to look at thinking it through more thoroughly in 2022 (among the million other things I gotta do 😂 )

arjansingh avatar Dec 23 '21 02:12 arjansingh

I would love venn diagrams :) I'd be interested in helping when I start having more free time

deslee avatar Jan 22 '22 23:01 deslee

Yes! Venn diagrams would be lovely!

wilsonjholmes avatar Feb 14 '22 18:02 wilsonjholmes

I, too, would like Venn diagrams!

bobturneruk avatar Feb 15 '22 12:02 bobturneruk

+1 this would be a killer feature.

serpro69 avatar Feb 16 '22 16:02 serpro69

+1 I am also interested!

philbo87 avatar Mar 04 '22 03:03 philbo87

+1 for sure!

MathiasSven avatar Mar 21 '22 08:03 MathiasSven

+1 Would be amazing.

MoniqueSmiling avatar Mar 26 '22 00:03 MoniqueSmiling

+1 I was doing an documentation in Notion and I asked to myself if mermaid could help my with that. Would be awesome to have this feature.

mathiasgheno avatar Apr 03 '22 14:04 mathiasgheno

+1, any walkaround?

kimploo avatar Apr 18 '22 16:04 kimploo

+1, this would be helpful so frequently!

PogiNate avatar Apr 26 '22 16:04 PogiNate

+1

JonLoose avatar May 01 '22 11:05 JonLoose

⬆️ Upvote

joniek avatar May 05 '22 21:05 joniek

yes please!

j-r-e-i-d avatar May 08 '22 06:05 j-r-e-i-d

+1 :+1:

LucVidal360 avatar May 24 '22 12:05 LucVidal360

+1

Casyfill avatar May 30 '22 19:05 Casyfill

+1

FrodoChen avatar May 31 '22 03:05 FrodoChen

+1

FelipeAdachi avatar Jun 13 '22 19:06 FelipeAdachi

👍

pedramamini avatar Jun 19 '22 18:06 pedramamini

+1

tyten avatar Jun 24 '22 19:06 tyten

Definitely a +1 from me

ElectricSwan avatar Jul 28 '22 06:07 ElectricSwan

+1

intzaaa avatar Aug 10 '22 07:08 intzaaa

+1

I7T5 avatar Aug 15 '22 11:08 I7T5

+1

rsdlt avatar Sep 06 '22 14:09 rsdlt

Any updates on this?

AhmedThahir avatar Sep 09 '22 03:09 AhmedThahir

+1 !

pete-debiase avatar Sep 10 '22 14:09 pete-debiase

+1

gillyspy avatar Sep 16 '22 01:09 gillyspy

+1

ryanfeeley avatar Sep 19 '22 12:09 ryanfeeley

+1

g-berthiaume avatar Sep 20 '22 13:09 g-berthiaume