{"id":28233025,"url":"https://github.com/jolars/eunoia","last_synced_at":"2026-06-12T13:00:58.054Z","repository":{"id":325449764,"uuid":"1099014545","full_name":"jolars/eunoia","owner":"jolars","description":"A Rust library for Euler and Venn Diagrams","archived":false,"fork":false,"pushed_at":"2026-06-10T21:10:14.000Z","size":2722,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-10T21:15:40.811Z","etag":null,"topics":["data-visualization","euler-diagrams","set-visualization","venn-diagrams","web-app"],"latest_commit_sha":null,"homepage":"http://eunoia.bz/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jolars.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null},"funding":{"github":"jolars"}},"created_at":"2025-11-18T12:50:39.000Z","updated_at":"2026-06-10T21:07:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"7895cb3e-d135-43c9-9219-84c659dd572a","html_url":"https://github.com/jolars/eunoia","commit_stats":null,"previous_names":["jolars/eunoia"],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/jolars/eunoia","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jolars%2Feunoia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jolars%2Feunoia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jolars%2Feunoia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jolars%2Feunoia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jolars","download_url":"https://codeload.github.com/jolars/eunoia/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jolars%2Feunoia/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34245218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-visualization","euler-diagrams","set-visualization","venn-diagrams","web-app"],"created_at":"2025-05-18T20:10:29.592Z","updated_at":"2026-06-12T13:00:58.042Z","avatar_url":"https://github.com/jolars.png","language":"Rust","funding_links":["https://github.com/sponsors/jolars"],"categories":[],"sub_categories":[],"readme":"# Eunoia \u003cimg src='https://raw.githubusercontent.com/jolars/eunoia/refs/heads/main/images/logo.png' align=\"right\" width=\"139\" /\u003e\n\n[![Build and\nTest](https://github.com/jolars/eunoia/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/jolars/eunoia/actions/workflows/build-and-test.yml)\n[![Crates.io](https://img.shields.io/crates/v/eunoia.svg?logo=rust)](https://crates.io/crates/eunoia)\n[![npm\nversion](https://badge.fury.io/js/@jolars%2Feunoia.svg?icon=si%3Anpm)](https://badge.fury.io/js/@jolars%2Feunoia)\n[![CRAN\nBadge](http://www.r-pkg.org/badges/version/eulerr)](https://cran.r-project.org/package=eulerr)\n[![PyPI\nversion](https://badge.fury.io/py/eunoia.svg?icon=si%3Apython)](https://badge.fury.io/py/eunoia)\n[![codecov](https://codecov.io/gh/jolars/eunoia/graph/badge.svg?token=hpXwdIe58E)](https://codecov.io/gh/jolars/eunoia)\n\nA Rust library for Euler and Venn Diagrams. This is a rewrite of the eulerr R\npackage, designed to be more flexible, faster, and support multiple language\nbindings.\n\nNarrative documentation lives at [eunoia.bz/docs/](https://eunoia.bz/docs/); the\nrustdoc reference is at [docs.rs/eunoia](https://docs.rs/eunoia/).\n\n## JavaScript / TypeScript\n\nWebAssembly bindings are published as\n[`@jolars/eunoia`](https://www.npmjs.com/package/@jolars/eunoia):\n\n```sh\nnpm install @jolars/eunoia\n```\n\n```ts\nimport { euler, venn } from \"@jolars/eunoia\";\n\n// Fit an Euler diagram from set sizes\nconst layout = euler({\n  sets: { A: 5, B: 2, \"A\u0026B\": 1 },\n  shape: \"circle\",        // \"circle\" | \"ellipse\" | \"square\"\n  output: \"shapes\",       // \"shapes\" | \"polygons\" | \"regions\"\n  inputType: \"exclusive\", // \"exclusive\" | \"inclusive\"\n  seed: 42,\n});\n\nif (layout.mode === \"shapes\" \u0026\u0026 layout.shape === \"circle\") {\n  for (const c of layout.circles) {\n    console.log(c.label, c.x, c.y, c.radius);\n  }\n}\nconsole.log(layout.metrics.loss, layout.metrics.fittedAreas);\n\n// Or build a canonical n-set Venn diagram\nconst v = venn({ n: 3, output: \"regions\" });\n```\n\nThe package is built with `wasm-pack --target bundler`, so it works with any\nmodern bundler (Vite, Webpack, Rollup, esbuild) and Node 20+.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjolars%2Feunoia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjolars%2Feunoia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjolars%2Feunoia/lists"}