3/9/2023 0 Comments Osx graphviz![]() ![]() ![]() Furthermore, all "default" slots can be hidden ("hide slots as default" check box). 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). ![]() Slots can be configured individually by pressing the colored "S" button. Show a class and its "template slot neighborhood", e.g., Newspaper. Shows all superclasses of Employee WITH template slots and all subclasses WITHOUT template slotsī. Inspect one class in the middle of the ontology, e.g., Employee. Some examples using the newspaper project might be:Ī. It is also possible to add a class more than once to the Config table with a different options set. If sys is not true, in all steps above ignore system classes and slots. slt/sle/sys: (globally) mark all frames in closure accordingly.ins: add all instances of classes in closure to closure:.slx/isx: for all classes/instances in closure, find the classes/instances that are reachable by a slot of type INSTANCE or CLASS (the maximum depth can be configured on the global options window default is 1 for classes and 3 for instances):.sub/sup: compute the subclass and superclass closures if frame is a class (independently otherwise we would always end up with all classes):Ĭlosure := closure U subClosure U supClosure.The (simplified) semantics for each row in the table are as follows: Options per class/instance, i.e., per row in the Config table.Ĭheck or uncheck any of the following check boxes next to an entry in the Config table: To fine tune your graph, e.g., for showing only a part of your ontology, the following options are available:ġ. You can also use the middle and right mouse buttons for zooming: Selecting a node in the graph displays the corresponding class in the classes tree (and vice versa): For me, the line of text looks exactly like:ĭot.command=/Users/andy/Developer/Tools/Graphviz/Graphviz.app/Contents/MacOS/dot You need to add a line to the file that tells Protege where to find the Graphviz UNIX executable. In the Finder, locate the file named "protege.properties" in the Protege directory, and open it with TextEdit (right-click, open, other, select TextEdit). The disk image is named something like "Graphviz 1.13 (v16)", which makes a poor directory name due to the spaces, period, and parentheses.Ĭopy the Graphviz application and Examples directory into your newly created directory. ![]() Ĭreate a directory to hold the Graphviz application and Examples directory at a location of your choice (for example, I created a directory called /Users/andy/Developer/Tools/Graphviz). Upon extracting and mounting, you will find two files contained within the disk image: Graphviz (an Application) and an Examples directory. I chose the disk image version (dmg) version. Andy used Mac OS X (10.4):ĭownload the Mac OS X version of Graphviz. Many thanks go to Andy Spydell for providing the following Macintosh specific instructions for configuring OntoViz and Graphviz. In addition to specifying the path to the Graphviz dot executable, you can set the following optional attributes:ĭot.fontsize= (optional usually -2 or -3)ĭot.fontpath= (needed on some flavors of Unix on Solaris: /usr/openwin/lib/X11/fonts/TrueType) Mac specific notes on installation The protege.properties file is located in the root directory of your Protege installation and an example protege.properties file is included in the OntoViz subdirectory for your reference Check protege.properties for more details. NOTE: you may need to modify your file structure to match the path in your protege.properties file. For example, if you installed Graphviz in C:\Program Files\ATT\Graphviz\, you would add the following line to protege.properties:ĭot.command=C\:\\Program\ Files\\ATT\Graphviz\\bin\\dot Modify your "protege.properties" file to specify where you installed Graphviz. (Graphviz 2.30 or later does not work with Ontoviz. Install the appropriate version of the Graphviz graph visualization software for your platform. Once you have installed Protege, you must also:Ī). The OntoViz Tab is bundled with the "full" installation of Protege (please use version 3.3.1 or 3.4.* or 3.5).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |