Treemap 4.1 Documentation |
[Previous] [Table of Contents] [Next] |
Network Visualization (NetViz)
NetViz is the abbreviation for Network Visualization and this abbreviation is commonly used in Treemap. This feature allows to have links between leaf nodes. Those links are stored in a .tnv file (stands for treemap netviz file). The format of tnv files are defined below.
The NetViz feature is special in that there are no arrows to indicate incoming and outgoing links. Instead, the curvature of the link is used to determine that. The curve is nearer to the source node.
A .tnv file depends on leaf nodes that Treemap shows just before loading
it (the .tnv file). Steps to visualize the links are as follows:
(Suppose our data input file is a .tm3 file.)
For an input data file to have a corresponding .tnv file (or .tnv files), the input data must have an attribute that has a unique value for every node. We call an attribute having this property a key attribute. If you create a key attribute, it is strongly recommended that you choose its type as STRING.
The first line of a .tnv file has the name of a key attribute, which should appear exactly the same as in the data input file. Every other line in the file represents the links as follows: The first column of every line has the source node's key attribute value and the remaining columns have the target nodes' that the source node connects to.
|
.tnv file example
In this example, the name of the key attribute is "Name". A has outgoing links to B, D and E; while C has outgoing links to A and B. |
After mapping a directory to generate NetViz links, it is a good idea to go to the Legend Tab (in Control Panel) and set the "Size" legend to "NONE". This setting leads to a clearer appearance of NetViz links.