Upon extracting and mounting, you will find two files contained within the disk image: Graphviz an Application and an Examples directory. Versions between 2. The disk image is named something like "Graphviz 1. In the Finder, locate the file named "protege.
For me, the line of text looks exactly like:. If you don't see any graphs after you begin using the OntoViz Tab in Protege, verify that the dot. The easiest way to do this is with the Terminal and "ls" command. Copy the dot.
To create a graph, select a class from your ontology in the Classes pane, click the "add class" button in the upper left "Config" area of the tab, check several of the options such as "sub", "sup", "slx", and click the "Create Graph" button.
The same process can be used for creating graphs of instances by using the "add instance" instead of the "add class" button. To remove an entry from the Config table, use the "remove class" button. Selecting a node in the graph displays the corresponding class in the classes tree and vice versa :.
To fine tune your graph, e. It is also possible to add a class more than once to the Config table with a different options set. Some examples using the newspaper project might be:. Slots can be configured individually by pressing the colored "S" button. A slot can be configured as "default", "hidden", or "configured" at the moment, a configured slot means that the user selected color and preferred arrow direction.
Furthermore, all "default" slots can be hidden "hide slots as default" check box. To configure a slot, click on the "default" cell in the table. The following global options are available in the "Ontoviz Global Options" dialog by clicking on the "Op" button. To follow are some additional screenshots of the OntoViz Tab. The graphs were generated using the newspaper example project that comes with all installations of Protege.
Please note that these screenshots were created using an older version of Protege. The source code for this tab is available in the Protege Subversion repository. To view the code, please use this URL:. If you have questions about OntoViz, you can try posting them on the protege-discussion mailing list and someone from the Protege community may be able to help you.
OntoViz From Protege Wiki. Jump to: navigation , search. OntoViz by Michael Sintek. X when you define the new page! The types of visualizations are highly configurable and include:. The OntoViz Tab is bundled with the 'full' installation of Protege please use version 3. Install the appropriate version of the Graphviz graph visualization software for your platform. Graphviz 2. Modify your 'protege. NOTE: you may need to modify your file structure to match the path in your protege. Check protege.
The protege. In addition to specifying the path to the Graphviz dot executable, you can set the following optional attributes:. Many thanks go to Andy Spydell for providing the following Macintosh specific instructions for configuring OntoViz and Graphviz.
Andy used Mac OS X I chose the disk image version dmg version. Upon extracting and mounting, you will find two files contained within the disk image: Graphviz an Application and an Examples directory. Versions between 2. The disk image is named something like 'Graphviz 1. In the Finder, locate the file named 'protege. For me, the line of text looks exactly like:. If you don't see any graphs after you begin using the OntoViz Tab in Protege, verify that the dot.
The easiest way to do this is with the Terminal and 'ls' command. Copy the dot. To create a graph, select a class from your ontology in the Classes pane, click the 'add class' button in the upper left 'Config' area of the tab, check several of the options such as 'sub', 'sup', 'slx', and click the 'Create Graph' button.
The same process can be used for creating graphs of instances by using the 'add instance' instead of the 'add class' button. To remove an entry from the Config table, use the 'remove class' button.
Selecting a node in the graph displays the corresponding class in the classes tree and vice versa :. To fine tune your graph, e.
0コメント