Current prototype: MKIV.
Tutorial & Demo
Check out the Notebook.
Here's a quick peek.
draco, found here. And follow the installation instructions.
pip install -r requirements.txt.
pip install -e ..
Start up a notebook:
Import Dziban and perhaps a dataset from
from dziban.mkiv import Chart from vega_datasets import data
Follow the demo for usage examples.
The important stuff
base definition for a chart, including initialization
programming layer, exposed to user
AST node for encoding objects
field methods for a chart, exposed to user
script for translating Graphscape definitions and weights into ASP (to be placed into Draco). See below.
In addition, Dziban uses a modified version of Draco, which supports multi-view and Graphscape's transition reasoning. This can be found on this branch. There are changes to the original Draco scattered about. Noteably:
transition definitions for Graphscape
weights for these transitions
The whole system
has been modified to allow for multiview reasoning (many other files, e.g.
optimize_graphscape.lp, and more and more).