Draw graphs using Answer Set Programming
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.
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.
Biseau and its gui are packaged, so if you already have clingo and graphviz, you should be good with:
pip install biseau biseau-gui
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
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
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.