@visdesignlab/intent-contract
v10.1.1
Published
Defines the types for interacting with the intent inference system.
Downloads
2
Keywords
Readme
Model
The users interaction with the system are modelled as an array of interactions Array<Interactions>
.
In addition to selections, we also keep track of when the user changes the axes of the visualization.
Usage
The contract is provided using TypeScript interfaces and enums. We use quicktype to automagically generate the corresponding Python 3.7 bindings. To create the Python bindings you can use the following command:
yarn run bindgen
The bindings will end up in dist/interactions.py
.
Development
The dependencies can be install using yarn
:
yarn install
Builds can be prepared using:
yarn run build
yarn run dev # watches for changes
To perform linter checks you there is:
yarn run lint
yarn run lint-fix # tries to fix some of the warnings