This document introduces the reader to Vizigator. It provides guidance on the use of Vizigator to:
Reading this document assumes some basic knowledge about topic maps. If you are not familiar with topic maps, try reading one of the simple introductions, such as The TAO of Topic Maps, available from the Ontopia web site. If you are technically minded, you might also want to look at the XTM Specification or the latest drafts of the new version of ISO 13250, especially the Data Model.
We welcome any suggestions you might have on ways of improving this User Guide. Please send them to the mailing list.
Happy Vizigating!
Ontopia 5.1 2010-06-09
The Topic Maps model describes the knowledge structures inherent in an underlying body of information. This model, which reflects the associative mode typical of the way humans think, can then be intuitively perused in different ways.
One possibility is a text-based interface. The Ontopia Omnigator (the name is a contraction of “omnivorous navigator”) uses a form-based navigation paradigm that is commonly known and used by most of us every day when using the web.
However, often a picture or graphic can be easier to grasp than a wordy description. The Ontopia Vizigator (“vi[z]ual navigator”) uses a graphical interface to provide an additional method of topic map navigation. Although Vizigator can be used on its own, it is also well-suited to complement a text-based interface.
Vizigator consists of three components which are related/dependent on each other.
VizDesktop can be used without any other Ontopia browsing environment. However, it is primarily a configuration tool for application designers to determine whether and/or how various topic types and associations will be graphically displayed. This is the entry point to the entire Ontopia Vizigator. To get started, see VizDesktop - Getting started with Vizigator
Vizigator uses TouchGraph, an open source toolkit for graph visualization, which is maintained as a Sourceforge project. For further information, please see the Sourceforge project homepage and the TouchGraph homepage with other example applications.
Vizigator is designed for graphically browsing and navigating topic maps. It supports all aspects of ISO 13250 with the exception of merging and some aspects of scope. It accepts topic maps in a variety of serialization syntaxes.
Vizigator is used to visualize a topic map, not an ontology. That is, Vizigator is designed to help users understand, navigate, and browse a populated topic map via a graphical interface.
Note It is possible to visualize an ontology using Vizigator; however, it requires modifications to the topic map. One way to accomplish this is to create a topic type, such as ‘ontology_topic’ and make all typing topics an instance of that type.
Creating and editing topic maps via Vizigator is not supported at this time.
Vizigator has internationalization support for translating the user interface into any language. The following table lists the currently supported languages and the codes that should be used to designate their use (see Starting VizDesktop. Additional languages will be added over time.
| Language | Code | Translation Acknowledgements |
|---|---|---|
| English | en | ‐ |
| Japanese | ja | Thank you to Motomu Naito, CEO of partner Knowledge Synergy, Inc., Japan |
| German | de | Thank you to Ingo Schönfeld, Knowledge Engineer at ATLAS Elektronik GmbH, Germany |
| Norwegian | no | ‐ |
Note Users interested in translating the interface to an unsupported language should contact the Ontopia project mailing list.
VizDesktop provides a simple graphical topic map browser.
Note The VizDesktop application is developed using the GUI toolkit (Java Foundation Classes(JFC)/Swing) provided with Java platform 2 standard edition (J2SE). The general look and feel of the user interface is according to the Java Swing controls in order to run on both Windows and Unix/Linux clients.
Prerequisites: VizDesktop is a Java application and requires the Java Developer Kit (JDK), Standard Edition Version 1.3 (or higher).
Starting VizDesktop:
vizdesktop.bat file in ${ONTOPIA_HOME}\bin.vizdesktop.sh file in ${ONTOPIA_HOME}/bin.To set the language used in the VizDesktop interface, you can edit the command line in the .bat or .sh file with the parameter --lang=<lang> where <lang> is a two-character designation of the language to be used. (See Localization Support for the list of supported languages.) Alternatively, you can add the parameter when invoking the batch files:
vizdesktop --lang=<lang>vizdesktop.sh --lang=<lang>Please send all comments to support@ontopia.net. Bugs can be reported in the bug database.
Conventions for visualization of topic map constructs are as follows:
Alternatively, all topic names in a given scope can be displayed by choosing a scoping topic from the Name Scoping menu item. If a topic does not have a name within a chosen scope, the unconstrained scope topic name is used.
The algorithm for determining which topic name to display in the unconstrained scope is as follows: Very long topic names will be shortened algorithmically to aid visualization. Shortened names will end in ‘…’ and holding the mouse over the node will cause the name to expand. * use an unscoped name (randomly selected if more than 1), * else, use a scoped name (randomly selected if more than 1).
Note Very long topic names will be shortened algorithmically to aid visualization. Shortened names will end in ‘…’ and holding the mouse over the node will cause the name to expand.
By default, all associations in all scopes are displayed. It is possible to filter associations by scope using the Association Scoping menu item (see Association Scoping).
If no predefined configuration is associated with a topic map, each type of topic and each type of association is automatically and randomly assigned a color each time the topic map is opened. These colors can be changed and saved in a configuration for the specific topic map.
For the purposes of this section, we will ignore the fact that the graph in Vizigator represents a topic map, and instead focus on the graph and what happens to it. This means that in general, a node is considered to be just a node, regardless of whether it represents a topic or an association.
The graph available through Vizigator is best seen as divided into three sets:
The visible graph is always a subset of the filtered graph (though not necessarily a true subset), and the filtered graph is always a subset of the complete graph (though again not necessarily a true subset). The filter settings determine what’s in the filtered graph, but determining what is in the visible graph is more complex. There are two views or modes of operation for the visible graph:
Note The Focus Node is identified visually by a deep yellow color. Use of this color in a configuration should be avoided. * Start Topic. The node that is focused when the topic map is opened (if there is a pre-defined configuration that includes a Start Topic). Topic View is initiated when a topic is designated as the Start Topic (via the topic’s context menu) or when choosing to focus on a previously defined Start Topic via the
View\Focus Start Topicmenu item. Only one topic can be designated as the Start Topic at any one time. Returning to Map View or designating a new Focus Node does not affect the Start Topic designation.
When initially loading a topic map, dialog boxes allow the user to choose a Focus Node, to proceed with modelling a Map View, or to cancel the loading. From a Topic View, Map View can be can be restored via the View\Map View menu item.
The VizDesktop window includes a main menu bar, three scroll bars, a number control, and a search box:
The locality factor number can be changed by clicking on the arrows or by typing in a number. The maximum value accessible using the arrows is the maximum distance between topics within the current topic map. If some associations have been filtered out of the view, the number might be misleading because even though the locality factor is increased, the display won’t change.
A small red box with a number (or asterisk for numbers higher than 9), the further-associations box, appears in the upper right hand corner of a topic shape when a topic has additional associations that are beyond the range of the locality factor. A single left click on the topic will display that set of associations. The display can be collapsed again by right clicking on the topic and choosing collapse node from the context menu. Associations outside the range of the locality, or those not made to other topics within the locality will be removed. Those that are within the locality or are linked to other topics within the locality will remain.

To hide/display the scrollbars, zoom bar, search box, and locality factor, right click on the background and select “Toggle Controls”. Alternatively, only the search box can be removed from the display through use of the check box.
The main menu bar consists of the following menu items:
Note When vizigating a topic map view of an RDF file, Vizigator looks for an RDF mapping file. The default file is
mapping.rdffand is located in$TOMCAT_HOME\webapps\omnigator\WEB-INF\topicmaps(the default location for the mapping file used by Omnigator). The name of the file and its location may be changed or additional mapping files may be designated via theFile\RDF mapping filemenu item._
Note If a menu item has been assigned a keyboard short cut, it is shown to the right of the item’s name.
Vizigator recognizes all files with the extensions .xtm,.hytm, .ltm, .tmx, .rdf, or .n3.
What to expect when loading a topic map will differ depending on whether or not a configuration has been saved for the topic map.
Select initial topic and follow-on dialog boxes. It does not load any default configuration which could reduce the complexity of a large topic map.Hints for achieving a sensible display of a very large topic map:
Florence, one association level away might be the topic city, and two associations away would be all other instances of city. Removing the Instance of association, would remove the presence of all of the other topics that are instances of type city.The following section gives a short introduction and overview of the default actions available using the mouse:
context menu pops up.
The context menu displays all the actions that can be applied to the topic (e.g., expand, collapse, hide node, set as start node), provides access to the topic’s Properties box (for names, types, and occurrences), and allows the topic to be designated as sticky (topic will remain positioned relative to other topics where specifically moved by user).
Hide edge menu choice. By clicking on Hide edge, the edge will be hidden and connected topics, which will be then disconnected, will also acquire a further-associations box (or have the number in their further-associations box incremented).Note For changing the default mouse actions, see Determining General Options
This section summarizes the effects of the various operations. Since the effects of operations are different in the two views, each view is described separately.
Topic View is the view where there is a Focus Node, and the visible graph (at least initially) contains only the nodes within a specified distance (the locality) of the Focus Node. Distance is computed with no regard to whether nodes represent topics or associations. The Focus Node is always in the visible graph.
The Properties box is accessed via a topic’s context menu (right mouse click). Where applicable, it contains:

The Properties box remains open until specifically closed. Its contents are updated each time a different topic’s properties are requested.
The search box provides an alternative way to find topics. Enter all or part of a topic name in the search box. Vizigator will search the topic names that appear in the topic shapes. The hits will blink and the visible part of the topic map will be repositioned to center the hit with the highest relevance (i.e., closest matches).
If more than one hit is displayed, the topic type can be determined by right clicking on a blinking topic to a ccess its Properties box. Once the appropriate topic has been found, right clicking to set it as the Start Topic will localize a Topic View around the chosen topic.
Using the Clear button will clear the search box, stop all topics from blinking, and reset the cursor within the search box.
A configuration is defined by the current state of each of the items under the following menus:
Filtering Topics;Filtering Associations;Styling;Options;Topic Type Precedence;Name Scoping; andAssociation ScopingOptionally, if a Start Topic is specified, it will be saved as part of the configuration.
Note The locality factor is not saved as part of a configuration. If a topic map is opened in Topic View, it will conform to the current setting of the locality factor.
The Filtering Topics and Filtering Associations menus provide checklists for including or excluding topic and association types to be displayed. Unchecking the box of a particular topic type will remove all of the topics of that type from the visualization, as well as any associations by which they are linked to other topics. Conversely, unchecking the box of a particular association type will remove all of the associations of that type and any topics that are only in the visualization because of that association.
For example, assume that a topic map has both born-in and died-in associations, each expressing relationships between a person and either a city or a country.
Unchecking the topic type city will remove not only all of the topics of type city, but also all born-in and died-in associations in which a city plays the place role, but not in which a country plays that role. Unchecking the born-in association will remove all such associations and topics of type either city or country that play the place role in each instance of that association (and which do not play any other roles in that view).
Note that if the checkbox is shown in gray this means that the topic or association type has no setting, and that the setting used is that of the default topic or association type. Checkboxes shown in green or red are set specifically for the given topic/association type. The menu will contain an item for “Default type” which can be used to change the default setting.
The Styling menu consists of two items to change the randomly pre-assigned shapes, colors, and fonts used to designate topic and association types.
The Styling\Styling Associations and Styling\Styling Topics menu items each bring up similar dialog boxes for choosing the Shape (geometric shape, weight) , color, and font to be used for topics or associations of a particular type. The Icon portion of the Shape tab can be used to stipulate an icon to appear to the left of each topic of that type. Clicking Clear will clear the field and remove the icons for the designated type.
Note that a type can either have a specified setting, or it can use the setting for the default type. The default type appears in the list and its settings can be changed just like those of real types. There is also a button for each type that can be used to remove all settings so that it reverts to getting its settings from the default type.
The Options\General menu item brings up the multi-tabbed General Options dialog box, which is used to set more general parameters:
city topic type under the Filtering Topics menu will remove all instances of city, but will not remove the city topic itself. This dialog box can be used to remove the typing topic city, regardless of whether instances of the topic type are also removed.The Options\Topic Type Precedence menu item brings up a simple dialog box that can be used to specify the precedence order of topic types. This is used to determine how to render topics which have more than one type. Topics which have more than one type will then be rendered according to the configuration for the topic which is comes first in the precedence order.
The Name Scoping menu offers a choice of scoping topics available in the topic map (if any) to be applied to the Topic Names of all topics. Choosing a scoping topic makes that scope active. The active scope will be saved with a configuration.
The Association Scoping menu offers a choice of scoping topics available in the topic map (if any) to be applied to the Association Types of all topics.
The menu is divided into two sections. The top section has three options:
Show All: In this mode, the scope filter is off, and none of the settings in the lower part of the menu have any effect. All associations are shown, regardless of their scope.Loose Filter: In this mode, the scope filter is on, and all associations whose scopes contain one of the chosen scoping topics in the lower section will be shown.Strict Filter: In this mode, the scope filter is on, and all associations which are in the unconstrained scope or whose scope contain all of the chosen scoping topics will be shown.The lower section contains one item for every topic that occurs in the scope of an association in the topic map, sorted alphabetically. If the scoping topics are instances of more than one type (say, if some are instances of “language” and others of “country”), the menu will have an additional level.
Choosing a scoping topic makes that scope active. The active scope will be saved with a configuration.
The current state of the configuration settings can be saved using the ‘File menu’.
When a topic map (e.g., foo.xtm) is loaded into VizDesktop, if a configuration file (e.g., foo.xtm.viz) exists in the same directory, it will be automatically loaded at the same time.
Otherwise, a topic map is loaded without a defined configuration, that is, all topics and associations are visible and VizDesktop uses default shapes and fonts, and randomly assigned colors for topic and association type displays.
Note In order for configuration files to properly do their job, they have to be able to reference topics in a topic map. There are a number of ways in which this can be done, some more robust than others.
The most robust method is through a subject identifier, which Vizigator will use if available. Where no subject identifier has been specified by the author of the topic map, the fallback solution is for Vizigator to use the item identifier, which involves pointing back into the source topic map file itself. What this means is that if the file is moved to another location, the references may break. The moral of this story is always use subject identifiers, especially for typing topics.