Skip to main content

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

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

clingraph-1.2.2.tar.gz (2.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clingraph-1.2.2-py3-none-any.whl (24.0 kB view details)

Uploaded Python 3

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

Hashes for clingraph-1.2.2.tar.gz
Algorithm Hash digest
SHA256 05e1454daa4ff8eaf4ad22a35ff2de00a0285c982ffb36a64d8af4ba0c4e37ad
MD5 bd039b82dab58ce8e3f51c7015cdfeae
BLAKE2b-256 4923a46a81d1af45199de46a8dead2eb8555ee1e7602d0ea4fcdf538053a6ab6

See more details on using hashes here.

Provenance

The following attestation bundles were made for clingraph-1.2.2.tar.gz:

Publisher: deploy.yml on potassco/clingraph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for clingraph-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aea8870da5d23d1fef9e6ef973cf2fda41556ef542b70060a2c4eb1fac0a03e3
MD5 8611f1228b2fcf30d9801a61794622c3
BLAKE2b-256 2f147e3a5097d00e805317665fc38e323cdf697f48f3f1a5c6a9c50b09e67c0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for clingraph-1.2.2-py3-none-any.whl:

Publisher: deploy.yml on potassco/clingraph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page