NICHEWRK(1)

NAME

nichewrk - NicheWorks, a network visualizer

SYNOPSIS

	nichewrk [ -L	positions ] [ -I configuration ] 
	[ -S percent ] [ -title string ] nodes links [ data1 data2 ... ]

AVAILABILITY

This command is available as an X/Motif application, (currently available for SUN SPARC, SGI, and HP workstations) and as a Microsoft Windows Win32S application.

DESCRIPTION

NicheWorks displays data as a network of interconnected nodes, with the placement of the nodes based on their interactions. The user may map data characteristics onto visual display attributes to see several data attributes at once.

OVERVIEW

Color, shape, size, and position are used to convey information about data associated with the links and nodes of a network. The display can be adjusted interactively to identify and focus on clusters of interesting nodes, and to filter the set of links and nodes displayed based on the associated data values.

You can directly manipulate the NicheWorks display. Using the mouse, you can interactively explore the network by focusing on a node, zooming in or out, and panning around the network. Link and node size may be changed, as well as shape and color.

NicheWorks models data as a set of nodes and links between the nodes which have data. The nodes may be of different type (distinguished by a data characteristic), but only a single link may be used. Any type of graph may be used, including one containing unconnected nodes. Any number of characteristics may be available for the nodes and the links. The user can select any of the link statistics to use in controlling the layout of the network on the display. Nodes that have "high" values of the link statistic will be placed near each other; links with "low" values will be separated. This visually displays node relationships based on the statistic. Other node and link statistics may be mapped onto visual characteristics of the display, such as color, size, and shape.

A standard scenario for using NicheWorks is to first acquire the data and perform any data conditioning (e.g., square rooting counts, accumulating totals) to produce the input data files (described below) through the use of the data manipulation tools of your choice (e.g., SQL, AWK, FIT, SED, Basic, etc.). Invoke NicheWorks. Choose a link as the placement weight, and perform placement. When you are satisfied with placement, map other data statistics onto the visual display characteristics. Use histograms to filter the data to concentrate on ranges of interest to you. Use the detail window to focus on the relationships of a particular node. Iterate as desired.

OPTIONS

EXAMPLE 1

The command line:
nichewrk -L position names edges connect numcalls zip-codes

starts NicheWorks using data describing local telephone exchange calling. The names file contains the phone numbers, for example:

          32241520
          32242219
          32242716
          32243207
           ...

The edges file contains network links, in this case representing calls between telephones defined in the names file:
          32650137	  39214812
          32650151	  32542100
          32650171	  37269885
          32650173	  34732210
          32650320	  34895588
           ...

The first entry represents the originator of the telephone call.

The position file describes the initial position of the nodes in the display; it was saved from NicheWorks in a previous session.

The connect file is a link statistic, the connect time for each phone call:

          # Call Connect Time
          5.51342874616498
          4.98360662170834
          8.08641027532378
          5.94542060860658
          4.90527477843843
           ...

numcalls is a node statistic, the number of calls made by a particular phone number:
          # Number of Calls
          1
          2
          1
          1
          1
          1
          1
           ...

zipcodes is a node statistic, the zip code containing each phone:
          # Zip	Code
          6132
          6132
          6132
          6132
          6132
          6132

EXAMPLE 2

This sample data is for looking at affinities between fruits. The command line used is:

               nichewrk	items pairs quantity affinity
Placement will be done within the NicheWorks session.

          WHAT:	       (nodes)	    (links)	  (node		(link
                                                 attribute)   attribute)
          FILE NAME:	items	     pairs	  quantity     affinity
             ^
             |		apple	  apples banana	     5		 .75
          CONTENTS	banana	  apples cherry	     12		 .45
             |		cherry	  banana cherry	     7		 .25
             |		pear	  banana pear	     9		 .63
             |		peach	  banana peach	     4		 .33
             |			  cherry peach			 .23
             v			  pear	 peach			 .66

EXTENDED DESCRIPTION

There are three regions in the main NicheWorks window: In addition to the main window, there can be multiple filter popup windows and a detail popup window.

MENU BAR

All operations on NicheWorks are available through the menu bar. On X/Motif, pull down menus are tear-off menus: selecting the dashed line at the top of the pull down menu "tears" the menu off into a separate window that may be used like a dialogue.

CONTROL PANEL

The left portion of the main window contains the control panel that is used to map data statistics onto visual characteristics of the network display. This contains three sections: controls for mapping visual characteristics to links, to nodes, and a region showing the values of all statistics for the current focus node.

Both the Links and Nodes sections allow the statistics to map to color, style, labels, and size to be selected. There is also a slider that controls the relative size of the nodes or links in the network display.

NETWORK DISPLAY

The network display shows the network.

Node Selection
A node may be selected with mouse button 1; the label of the node is shown in the network display and the values for all statistics for that node are shown in the Control Panel. The text displayed is controlled by the "Labels" selection in the "Nodes" section of the control panel. Selecting with mouse button 2 (X/Motif, Control-right button on PCs) displays the label for the node and leaves it on until it is turned off by selection with mouse button 2 again. All text can be turned on using "Options->Labels On".

Zoom/Pan
Your perspective on the network display can be changed by panning the display (moving the contents) or zooming (magnifying/reducing).

Panning can be done with the keyboard arrow keys or with the mouse. With the mouse, hold the right mouse button down and drag to pan the display. The "Home" keyboard button or the menu item "Zoom->Home" returns the display to its starting location.

Zooming can done with menu items, the keyboard, or the mouse. Menu items "Zoom->Zoom In" and "Zoom->Zoom Out" zoom in or out around the current center of the network display. The keyboard keys "PgUp" corresponds to "Zoom In", and "PgDn" corresponds to "Zoom Out". "Home" or "Zoom->Home" returns to the original magnification, showing the entire display. Zooming with the mouse is done by holding down the right mouse button and the keyboard SHIFT key, and dragging up (zoom in) or down (zoom out).

Panning and zooming can be intermixed when using the mouse, since pressing the SHIFT key activates zooming, otherwise panning is done.

FILTERS

Any node or link statistic may be selected with the "Filters" menu bar item. This creates a separate window with a histogram showing the distribution of the values of the statistic, and how colors are mapped to the data values.

The slider at the bottom of the window controls the smoothing of the distribution: more smoothing removes irregular values and makes the distribution more "statistically accurate".

The histogram may be swept with the mouse to "turn off" portions of the statistic, to focus on particular ranges of values. The right mouse button turns off, the left mouse button turns on. Specific values can be typed in to the text entry lines labeled "End Point 1" and "2" to explicitly define the range to be turned off ("Cut") or turned on ("Paste"). The value at the current location of the mouse while it is over the histogram is showed as "End Point 1".

Any number of filters may be created, and they are all linked: filtering in one "turns off" the same values in other filters, so you can see the impact of turning off values from a particular range on the distribution of other statistics as well. possible pair of nodes is connected by a link.

DETAIL

The Detail window may be opened from "Operations->Detail". This is a separate window that shows the current focus nodes and it nearest neighborhood. Filtering does not affect the contents of the Detail window.

CAVEATS

The Windows version requires Microsoft Windows 3.1 or later and the Win32S extension to Windows, Windows95, or Windows/NT.

FILES

          VzBookMarks	 directory containing bookmarks
          nichewrk.cfg	 default configuration file