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

Is there a way to programmatically get a list of intersections not shown. #161

Open
jonborchardt opened this issue May 11, 2023 · 4 comments

Comments

@jonborchardt
Copy link

When the layout decides to not make an overlap because the circle does not fit, I would like to tell the user with a little alert. Is this data queryable?

@jacobmgreer
Copy link

Or would it be possible to generate a table of the displayed intersections? From that it might be easier to highlight a table of intersections not displayed.

@jacobmgreer
Copy link

I do see in the DOM that it logs with warnings about the intersections not displayed on screen, this might be a way to identify what's not shown. "[Log] WARNING: area AFI1,AFI2,NBR,EBERT,LAFCA,NSFC,NYFCC,NYT not represented on screen (venn.js, line 1737)"

@jacobmgreer
Copy link

Here is an example of using the warning logs to create a list of the intersections not shown: https://jacobmgreer.github.io/Film-Tracker/VennDiagram/

@jonborchardt
Copy link
Author

i would not have thought to overwrite console.log, for the specific need, this is cleaver!

it still seems reasonable for the developers to make this data available.

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