Draw graphs using Answer Set Programming
Project description
Biseau
Build by Input Some Easy ASP from User.
Helps the exploration of formal structures by using ASP as a DSL for drawing graphs. For a Graphical User Interface, see the biseau-gui package.
For the initial version of biseau published in the FCA4AI'18 workshop at IJCAI, see the archived repository biseau-initial
Principles
Now, you may want to read about:
- visualization details, that explains the theory behind the visualization itself.
- visualization DSL, that explains which atoms produces which effect in visualization.
- scripting, that allow you to implement new behavior for biseau.
Export as standalone script
Currently under development.
Installation
See user documentation for details,
but in short, you need clingo,
graphviz and make install-deps
.
Biseau and its gui are packaged, so if you already have clingo and graphviz, you should be good with:
pip install biseau biseau-gui
Usage
See user documentation for details.
See Makefile
for various recipes.
Running biseau can be done using the following commands:
python -m biseau gui # run the Graphical User Interface (if biseau-gui is installed)
python -m biseau # run the Command Line Interface
python -m biseau --help # get help for the CLI
Notes
Bomb attack error
To save you from some kind of attacks, Pillow may prevent you to create large images. To fix that, you can use something like:
from PIL import Image
Image.MAX_IMAGE_PIXELS = 20000 # or None, if you are feeling adventurous
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file biseau-0.0.18.tar.gz
.
File metadata
- Download URL: biseau-0.0.18.tar.gz
- Upload date:
- Size: 30.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 498fe35eb5d7d1a00d6b424efb624a56a9468d4080a898073075c23706ee6f95 |
|
MD5 | 08c0a7b63b1fb61442acf81624e883f3 |
|
BLAKE2b-256 | d7f74b612cf32db4a5a9b663115f40dc6c55150efd5fe50d0d88f27abdf262ba |
File details
Details for the file biseau-0.0.18-py3-none-any.whl
.
File metadata
- Download URL: biseau-0.0.18-py3-none-any.whl
- Upload date:
- Size: 25.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a3c6fab71183f13323fb025bf5d67205aa365f054b5fb80198a40fd5b2dc6ad |
|
MD5 | c1ed6a0a3ebf38b468a990fcc5f6ae4d |
|
BLAKE2b-256 | 8e24bbfaf01f0a0f88cf6cee2c26dd74994ee1ec611fc4e605dace6a32ee3e74 |