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

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

Built distribution (wheel)

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

Total release size: 2.7 MB

Release files / clingraph-1.2.4.tar.gz

Download URL clingraph-1.2.4.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
d53076cd87043e66684b4607c351f7835979b47b9ca6a9f739f8792a756e913b
BLAKE2b-256 checksum
How to use checksums
36aabf56a77f64861d136644b0abea047a46d84498849c2db36cec642ebeb427
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.4-py3-none-any.whl

Download URL clingraph-1.2.4-py3-none-any.whl
Size 24.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5da4a78595f5f42aac05796ad4ad257e01d57c7c5cb0183c823862a08f12038
BLAKE2b-256 checksum
How to use checksums
eaf1aa1a87054a3bc03c6c0d18902427dfe28a9594da10ae8d6210cc7443c8e1
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

1.2.5

2 release files

This release

1.2.4 This release

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