Here is cross of circles without cross numbers
Closed this issue · 4 comments
Hello.
Thank for nice library.
I hope I'm right if here is classical logic for Euler circles (Venn as special goal of Euler's circles).
But here is some problem with crossing of classes which have no crosses.
Arrays here are: A=4, B-10, C=7
Conditions: AB=4, AC=0, BC=4, ABC=0;
We have in result:
A out of B - but all A in the B
A and C crossed - but A and C have no cross value and here is enough space in B [ B - (AB + BC) = 2 ]
If I'm wrong clear it, please.
Have a nice coding!
Alex
This package runs an optimization process - trying to find the best possible diagram given the inputs.
With the inputs you've given, the 'A' circle should be completely inside the 'B' circle with venn.js (since |A| is the same as |A∩B|). venn.js attempts to do this, but fails since there isn't enough room for A to completely fit inside of B with the other constraints with the C set.
I think the inputs with eulerr might be referring to the disjoint set sizes (like the total size of A you are passing to euller is "A" + "A&B" + "A&C" = 8 in eulerr, versus only 4 when given to venn.js). This makes the eulerr not try to completely fit the A set inside of B - leading to the diagram you posted.
edit: adjusting inputs to venn.js to match those given to eulerr, lead to an isomorphic diagram):
Hey! I see it is in development progress.
Maybe you can see logic in Eulerr library in R Project CRAN.
If it is possible to see sources.
Wish you success.
BR, Alex
It is a great job and thank you for a link to research paper.