Clingraph: A System for ASP-based Visualization
This work addresses the need for better visualization tools in the ASP community, but it is incremental as it redevelops and extends the earlier aspviz tool.
The authors tackled the problem of visualizing Answer Set Programming (ASP) concepts by developing clingraph, a system that uses ASP itself to specify graphs and interfaces with graphviz for rendering, resulting in a tool that provides a Python API for integration with clingo's API.
We present the ASP-based visualization tool, clingraph, which aims at visualizing various concepts of ASP by means of ASP itself. This idea traces back to the aspviz tool and clingraph redevelops and extends it in the context of modern ASP systems. More precisely, clingraph takes graph specifications in terms of ASP facts and hands them over to the graph visualization system graphviz. The use of ASP provides a great interface between logic programs and/or answer sets and their visualization. Also, clingraph offers a python API that extends this ease of interfacing to clingo's API, and in turn to connect and monitor various aspects of the solving process.