Visualizer ASP Extension User ManualThis extension allows you to convert your ASP answer sets into various visualizations. The available visualizations are:
The visualizations have some customizations available, such as the ability to change the color of the nodes and edges, the theme, the color of the table, and the ability to choose to use images or colors for AS visualization. Installation dependenciesIn order to use this extension, you need to have the following installed:
Getting Started:Extension FolderAt the start of the extension, you will be required to create a folder for the extension's files. This folder will be used to store the configuration files to run the extension with the same setting every time. Initial configurationAfter creating the folder for the extension's files, the extension will look like this:
All the mandatory settings are marked with the required keyword. In particular, you need to set the following:
After all of this you are ready to run the extension with the template file you just created. Features:The extension is capable of generating various visualizations, each with its own features. GraphIn the Graph menu it's possible to Add or Remove nodes and edges from the visualization. It's is possible to set the name of the atom and, for each atom, add or remove arguments. For each node, it's possible to style it with different color for:
For each edge, you can set the atom name and the attributes for each edge. It's possible to setup the color of the edges and to choose if the edge is oriented or not. TableIn the Table menu it's possible to Add or Remove cells from the visualization. It's mandatory to map the cells to the atoms in the ASP program. In the Table Mapping section, it's possible to setup the columns of the table and set a name for each coulmn. It's possible to style the table with:
MatrixIn the Matrix menu it's possible to Add or Remove cells from the visualization. It's mandatory to map the cells to the atoms in the ASP program. Here is added the possiblity to choose the number of answer sets to compute. It's possible to style the matrix with:
Matrix ImageIn the Matrix Image menu it's possible to Add or Remove cells from the visualization. It's mandatory to map the cells to the atoms in the ASP program. Here is added the possiblity to choose the number of answer sets to compute. It's possible to choose to use images or colors for the visualization. If you choose to use images, you need to set the image directory in the initial configuration. Plus, you need to set the image name for each attribute. If you choose to use colors, you need to set the color for each attribute. It's possible to style the matrix changing:
It's possible to check the Make image sequence checkbox to prepare the files for the gif creation. Common issuesUn poco |