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

Requirements

  • Python (version 3.8, 3.9, or 3.10)

For instructions to install from source, pip and conda 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.1.2.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

clingraph-1.1.2-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file clingraph-1.1.2.tar.gz.

File metadata

  • Download URL: clingraph-1.1.2.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for clingraph-1.1.2.tar.gz
Algorithm Hash digest
SHA256 07f14e3f6a58105e4f4609be4764808c0735ae9bfbe09458fced666de53b7c4a
MD5 7d0dd89c555b0dfeabe824b79962df59
BLAKE2b-256 5325f8b8cdd3faa71d973988db9e56e0c657ff534170c84380729fc4e842b2bd

See more details on using hashes here.

File details

Details for the file clingraph-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: clingraph-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for clingraph-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 66f1aae3cf4f246145c54ccc41a118175a09a463b2cf031be73450b0ff53211b
MD5 90ff22a405cd4aa887ae48031332535e
BLAKE2b-256 082779da613160a2ce60250dd823cc2cd7e7317f61085966d5f9ba5af232e619

See more details on using hashes here.

Supported by

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