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.5

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.5
File Size Uploaded
clingraph-1.2.5.tar.gz 2.7 MB Details

Built distribution (wheel)

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

Total release size: 2.7 MB

Release files / clingraph-1.2.5.tar.gz

Download URL clingraph-1.2.5.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
3e3a0063042cb3ed6e9dd7b002104ae9f105c1e44aba69f57111d07b72ea8f17
BLAKE2b-256 checksum
How to use checksums
fdf79ca4011db89fefd6160657c2aa67b38adfcd87a6f762907cb9f83773384a
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.5-py3-none-any.whl

Download URL clingraph-1.2.5-py3-none-any.whl
Size 24.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bda393843392faa3c5ab0af9736f70cc71502e665df737b015b0d012705e1a73
BLAKE2b-256 checksum
How to use checksums
28751037a61b55be35a545adc369e4a2206ded03e39447d0dec657a993c15514
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

1.2.6

2 release files

This release

1.2.5 This release

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