A visualizer for graphs defined as facts with special integration for clingo.
Project description
clingraph
A declarative visualizer for graphs defined as a set of facts. The graphs are generated using graphviz but are defined via fixed predicates that can be computed from logic programs.
Graph defined by facts
node(clingraph). node(visual). node(asp).
edge((clingraph,visual)). edge((clingraph,asp)).
attr(node,clingraph,style,filled).
Visualization
Clingraph also contains special features for integration with clingo, as well as for generating latex code and gifs!
Check out our paper here. This work was published in LPNMR22 where it received the "Best student paper award".
Usage
Look at our documentation page to see how to use clingraph.
Try clingraph via
command line
or as a package online in a jupyter notebook via
Examples
Our examples folder shows how to use the range of functionalities in different applications.
- Examples used in the documentation (doc)
- Simple (color, cube, lights)
- Clingo integration
(sudoku,
reify,
transition_system)
- Absolute positioning
- Legends
- Latex integration
- Dynamic applications
(asprilo,
elevator,
minotaur)
- Clingo integration
- Multi graphs
- Animation via Gif
- SVG interaction
(family_tree,
queens_interactive,
minesweeper)
- Interaction using SVG
- Visualizing the solving and program structure
Installation
To install the project, run
pip install .
Notice that graphviz needs to be installed on your system. You can find instructions to do so here.
For detailed instructions to install from source and pip see our documentation page.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clingraph-1.2.2.tar.gz.
File metadata
- Download URL: clingraph-1.2.2.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05e1454daa4ff8eaf4ad22a35ff2de00a0285c982ffb36a64d8af4ba0c4e37ad
|
|
| MD5 |
bd039b82dab58ce8e3f51c7015cdfeae
|
|
| BLAKE2b-256 |
4923a46a81d1af45199de46a8dead2eb8555ee1e7602d0ea4fcdf538053a6ab6
|
Provenance
The following attestation bundles were made for clingraph-1.2.2.tar.gz:
Publisher:
deploy.yml on potassco/clingraph
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clingraph-1.2.2.tar.gz -
Subject digest:
05e1454daa4ff8eaf4ad22a35ff2de00a0285c982ffb36a64d8af4ba0c4e37ad - Sigstore transparency entry: 1402601159
- Sigstore integration time:
-
Permalink:
potassco/clingraph@6128ed6c01ab518100711bdcd326bdc351d497bc -
Branch / Tag:
refs/tags/v1.2.2 - Owner: https://github.com/potassco
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@6128ed6c01ab518100711bdcd326bdc351d497bc -
Trigger Event:
push
-
Statement type:
File details
Details for the file clingraph-1.2.2-py3-none-any.whl.
File metadata
- Download URL: clingraph-1.2.2-py3-none-any.whl
- Upload date:
- Size: 24.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aea8870da5d23d1fef9e6ef973cf2fda41556ef542b70060a2c4eb1fac0a03e3
|
|
| MD5 |
8611f1228b2fcf30d9801a61794622c3
|
|
| BLAKE2b-256 |
2f147e3a5097d00e805317665fc38e323cdf697f48f3f1a5c6a9c50b09e67c0c
|
Provenance
The following attestation bundles were made for clingraph-1.2.2-py3-none-any.whl:
Publisher:
deploy.yml on potassco/clingraph
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clingraph-1.2.2-py3-none-any.whl -
Subject digest:
aea8870da5d23d1fef9e6ef973cf2fda41556ef542b70060a2c4eb1fac0a03e3 - Sigstore transparency entry: 1402601226
- Sigstore integration time:
-
Permalink:
potassco/clingraph@6128ed6c01ab518100711bdcd326bdc351d497bc -
Branch / Tag:
refs/tags/v1.2.2 - Owner: https://github.com/potassco
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@6128ed6c01ab518100711bdcd326bdc351d497bc -
Trigger Event:
push
-
Statement type: