m (grammatical edits, punctuation edits) |
|||
Line 1: | Line 1: | ||
[[Category:User Manual]] | [[Category:User Manual]] | ||
Line 10: | Line 9: | ||
* one particular state of a model represented as a graph | * one particular state of a model represented as a graph | ||
Firstly, ProB generates a textual representation of a graph in the "dot" format. | |||
This information is typically saved to a file which has the same name and path as your main model | This information is typically saved to a file which has the same name and path as your main model but has a ".dot" extension. | ||
It then uses GraphViz to render this file. | It then uses GraphViz to render this file. | ||
For this it can either make use of the "dot" program to generate a Postscript file (generating a file with the ".ps" extension), or it uses a Dot-Viewer (such as "dotty") to view the file directly. | For this, it can either make use of the "dot" program to generate a Postscript file (generating a file with the ".ps" extension), or it uses a Dot-Viewer (such as "dotty") to view the file directly. | ||
== Setting up the Graphical Viewer == | == Setting up the Graphical Viewer == |
ProB can generate a wide range of visualizations for your models, e.g.:
Firstly, ProB generates a textual representation of a graph in the "dot" format. This information is typically saved to a file which has the same name and path as your main model but has a ".dot" extension. It then uses GraphViz to render this file. For this, it can either make use of the "dot" program to generate a Postscript file (generating a file with the ".ps" extension), or it uses a Dot-Viewer (such as "dotty") to view the file directly.
Then set or check the following preferences:
Note: you can use the "Pick" button to locate the dot program and the dot viewer.
In case you want to use the Postscript option, also make sure that you have a viewer for Postscript files installed, and set the preference "Path/Command for Postscript viewer".
.