Venn Diagram Syntax
See original GitHub issueProblem
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.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:120
- Comments:41 (2 by maintainers)
Top Results From Across the Web
Venn Diagram Symbols and Notation - Lucidchart
A complete Venn diagram represents the union of two sets. ∩: Intersection of two sets. The intersection shows what items are shared between...
Read more >Venn Diagrams: Set Notation - Purplemath
Demonstrates the use of Venn diagrams for relationships between sets (such as intersections and unions), and also in logic.
Read more >Venn diagram - Wikipedia
A Venn diagram is a widely used diagram style that shows the logical relation between sets, popularized by John Venn (1834–1923) in the...
Read more >Venn Diagram Sets & Symbols - Video & Lesson Transcript
A Venn diagram is a graphical way to show how sets relate to each other using circles or other shapes that overlap each...
Read more >Venn diagram | logic and mathematics - Britannica
Venn diagram, graphical method of representing categorical propositions and testing the validity of categorical syllogisms, devised by the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can vote here: https://github.com/mermaid-js/mermaid/issues/177#issuecomment-345474864
But do you really want Venn diagrams or do you want Euler diagrams?
https://en.wikipedia.org/wiki/Euler_diagram#Relation_between_Euler_and_Venn_diagrams
Citation : Batman would say: “This is not the answer you need, but the answer you deserve.”
Fact : This feature will not happen any time soon on
mermaid
(@knsv is needed to confirm this claim);Reason : The visual complexity of potential
2^n
intersections on an
-sets-scenario (See product “interactiVenn” on URL http://www.interactivenn.net/, first remarked here on @Roderick-Jonsson’ comment)Solution : As @endolith points out, I would be really glad for you guys to enjoy the libraries below I wrote:
Tags: @arjansingh @wolfspyre @wilsonjholmes @bobturneruk @MathiasSven @philbo87 @MoniqueSmiling @mathiasgheno @kimploo @PogiNate @JonLoose @j-r-e-i-d @LucVidal360 @Casyfill @FrodoChen @FelipeAdachi @tyten @ElectricSwan @huangyinhaow @I7T5 @rsdlt @AhmedThahir @gillyspy @ryanfeeley @g-berthiaume @dwhelan @rghvdberg @laoyaoer @avijit1258 @anchal0997 @Roderick-Jonsson
I could tag more if I knew how to request all
issue_interaction_users
(made-up property) fromgithub-api
.Share the word.