https://github.com/cmudig/draco2
🐉 Modular version of Draco visualization recommendation engine
https://github.com/cmudig/draco2
asp constraints draco recomendation visualization
Last synced: about 2 months ago
JSON representation
🐉 Modular version of Draco visualization recommendation engine
- Host: GitHub
- URL: https://github.com/cmudig/draco2
- Owner: cmudig
- License: mit
- Created: 2020-11-17T18:15:03.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-24T22:06:26.000Z (about 2 months ago)
- Last Synced: 2025-03-28T17:04:46.416Z (about 2 months ago)
- Topics: asp, constraints, draco, recomendation, visualization
- Language: Python
- Homepage: https://dig.cmu.edu/draco2/
- Size: 7.04 MB
- Stars: 84
- Watchers: 8
- Forks: 11
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Citation: CITATION.cff
Awesome Lists containing this project
README
# Draco v2
[](https://github.com/codespaces/new?hide_repo_select=true&ref=main&repo=313704611&machine=standardLinux32gb&devcontainer_path=.devcontainer%2Fdevcontainer.json&location=WestEurope)
[](https://pypi.org/project/draco/)
[](https://www.npmjs.com/package/draco-pyodide)
[](https://github.com/cmudig/draco2/actions/workflows/test.yml)
[](https://github.com/psf/black)
[](https://codecov.io/gh/cmudig/draco2)
[](https://dig.cmu.edu/draco2)
[](https://mybinder.org/v2/gh/cmudig/draco2/HEAD)
[](https://dig.cmu.edu/draco2/lite)Draco is a formal framework for representing design knowledge about effective visualization design as a collection of
constraints. You can use Draco to find effective visualization designs or validate existing ones. Draco's constraints
are based on Answer Set Programming (ASP) and solved with the [Clingo](https://github.com/potassco/clingo) constraint
solver. We also implemented a way to learn weights for the recommendation system directly from the results of graphical
perception experiment. Draco v2 is a much improved version of the first iteration of
[Draco](https://github.com/uwdata/draco).- [Draco paper (VIS 2018)](https://idl.cs.washington.edu/files/2019-Draco-InfoVis.pdf)
- [Draco 2 paper (VIS 2023)](https://arxiv.org/pdf/2308.14247.pdf)## Documentation
Read about Draco in the online book at [https://dig.cmu.edu/draco2/](https://dig.cmu.edu/draco2/) or launch it in
interactive mode using [Binder](https://mybinder.org/v2/gh/cmudig/draco2/HEAD). In the documentation, we just refer to
_Draco_ without a version.## Contributing
We welcome any input, feedback, bug reports, and contributions. You can learn about setting up your development
environment in [CONTRIBUTING.md](https://github.com/cmudig/draco2/blob/main/CONTRIBUTING.md).