Skip to main content

Visualization recommendation using constraints

Project description

The Draco logo. A set of circles connected by lines depicting the draco star constellation.

Draco v2

Test code style black codecov Language grade: Python

Work in Progress

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 visual designs or validate visualization designs. Draco's constraints are implemented in based on Answer Set Programming (ASP) and solved with the 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 imprived version of the first iteration of Draco.

Documentation

Read about Draco in the online book at https://dig.cmu.edu/draco2/. In the documentation, we just refer to Draco without a version.

What's different from Draco v1?

  • Draco v2 is completely written in Python. No more need to run both Python and Node. We still use ASP for the knowledge base.
  • Generalized and extended chart specification format. The new format is more extensible with custom properties.
  • Suport for multiple views and view compostion.
  • High test-coverage, documentation, and updated development tooling.

Contributing

We welcome any input, feedback, bug reports, and contributions. You can learn about setting up your development environment in CONTRIBUTING.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

draco-2.0.0b0.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

draco-2.0.0b0-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

Details for the file draco-2.0.0b0.tar.gz.

File metadata

  • Download URL: draco-2.0.0b0.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.5 Darwin/22.0.0

File hashes

Hashes for draco-2.0.0b0.tar.gz
Algorithm Hash digest
SHA256 7ab2c29c36d451c7747b88d0f203299e5f8347543fa9636a3ee513e5f1fe3867
MD5 57b1cc61884cfaa121b4af11648de662
BLAKE2b-256 f1b2d3b0185e92e02b8bb856983cf5301b83cf04cfbbcbe8d65f692ec5754300

See more details on using hashes here.

File details

Details for the file draco-2.0.0b0-py3-none-any.whl.

File metadata

  • Download URL: draco-2.0.0b0-py3-none-any.whl
  • Upload date:
  • Size: 25.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.5 Darwin/22.0.0

File hashes

Hashes for draco-2.0.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f71d7fbf33d71efc6c66b7001d54b112ac2a8dc73241df327b0d7604eee877f
MD5 809060f2219505b63b1eda411789e2d1
BLAKE2b-256 5b059baf74eed4fc90de0de0ddcca5b7ad5ccee15cc5ba87236a5ec12d761aac

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page