Skip to main content

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 Binder

Examples

Our examples folder shows how to use the range of functionalities in different applications.

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.

Release files for clingraph 1.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clingraph 1.2.6
File Size Uploaded
clingraph-1.2.6.tar.gz 2.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for clingraph 1.2.6
File Interpreter ABI Platform
clingraph-1.2.6-py3-none-any.whl Python 3 none any Details

Total release size: 2.7 MB

Release files / clingraph-1.2.6.tar.gz

Download URL clingraph-1.2.6.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
fbbe68d8fb18bd843fb460a9e92496906589caa8b9172c36e89c69c917ea7aae
BLAKE2b-256 checksum
How to use checksums
0c403d85a7cae5b47a91bef0c04d19ab442c12d27ef4e00befec233c326036ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Release files / clingraph-1.2.6-py3-none-any.whl

Download URL clingraph-1.2.6-py3-none-any.whl
Size 24.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
538f5fbb937d29b9a66c6780d54142f3f7c97de633edfeb5c448e85d22f81ee5
BLAKE2b-256 checksum
How to use checksums
a9f00f1463159dde6f04b05ab925d940c07315e670a33c94ce2dbf828dae70ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.2.6 This release

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.2

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page