Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Discussion] General Set Diagrams #1

Open
davidleejy opened this issue Mar 17, 2024 · 1 comment
Open

[Discussion] General Set Diagrams #1

davidleejy opened this issue Mar 17, 2024 · 1 comment

Comments

@davidleejy
Copy link

davidleejy commented Mar 17, 2024

Thank you for starting this code repository for rendering Venn diagrams. I started this discussion to give a place for the community to come together to talk about the drawing of more general set diagrams with the hopes that such a discussion will be helpful for considering the future roadmap of cetz-venn. This will be more challenging but I'm hoping that it'll be nutritious food for thought.

According to Wikipedia, Venn diagrams are a special cass of Euler diagrams that show sets being overlapped in every possible way. This distinction is illustrated in this figure:

Screenshot 2024-03-17 at 6 11 36 PM

Taken to their most general form, diagrams involving sets could look like these:

1.
Screenshot 2024-03-17 at 5 57 27 PM

2.
Screenshot 2024-03-17 at 5 57 44 PM

3.
Screenshot 2024-03-17 at 5 58 18 PM

Sometimes, a set is depicted with a non-simple shape deliberately:

4.

Screenshot 2024-03-17 at 6 20 36 PM

One question that might be worth pondering is whether more sophisticated mechanisms are required for drawing such general set diagrams using only code, and if so, whether such sophistication might exceed cetz-venn's vision. Penrose, a project at CMU, allows users to render general set diagrams using code (Link to Penrose's set diagram example). Having played around with Penrose a tiny bit, as an end-user, I think there's room to simplify the logic required from the end-user, in turn simplifying the effort on the end-user's part.

I wouldn't call myself an expert in set diagrams, nor in the rendering of set diagrams, making it a prudent idea to question my propositions 😄 .

Thank you for reading.

@johannes-wolf
Copy link
Member

johannes-wolf commented Jul 18, 2024

Sorry for not answering for so long.

I am open to adding more diagram types, but I would also like to keep this package small and simple – as of now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants