Map a Directory
- This feature allows you to display a Treemap of all the files in a directory.
- Select "File" from the menu bar
and click on "Map Directory" from the file menu.
- Click on the directory that you wish to map, then press "Map Selected".
- To map an entire hard drive, type the letter of the
drive followed by a ":\", for example "C:\" would map
the entire C drive.
WARNING: We have mapped directories of more than
160,000 files, but the limit is a function of the memory
available, the memory allocated to java,
the depth of the hierarchy etc. We have not focused
on optimizing Treemap for large trees.
- Beginning from Treemap 4.1, it is possible to automatically
generate NetViz links by mapping a directory (see
for more details.). Since it takes time to generate links,
you will be asked whether you want Treemap to do this
processing ("Do you want NetViz links to be extracted
from html files?"). Depending on your answer, the number
of steps differ (4 if "Yes", 3 if "No"). In both cases,
step 1 counts the files and collects path information
for every file under the selected directory. Step 2 looks at
attributes for every file (file age, file type, file size).
Step 3 will generate NetViz links if "Yes" was the response
to the question above. In both cases, settings
(such as color of nodes in accordance with their
file type attribute) are applied in the last step.
- Coloring by attribute type:We selected some default colors for common file types, but you can change those
colors or add new ones, then save the settings.
- Save Settings: For the settings to be used with
any directory you want to map, the settings have to
be saved as "Directory_Settings.tms", the default
name proposed by the dialog box. This file must always
be in the data folder. If not, directory mapping will
not work. Enter another name for the .tms file such as
"mydir.tms" if you want Treemap to save settings for
this particular map of the selected directory.
Treemap will automatically create a corresponding
.tm3 file (in this case "mydir.tm3") to save the data,
and then save the settings into the .tms file,
which you entered the name of (in this case, "mydir.tms").
The resulting .tms file is not any different than
.tms files that are created upon loading an input data
file. Just in the same way, opening this .tms file
will have the effect of loading the corresponding .tm3
file and applying the settings found in the .tms file.
Note that this behavior (for directory mapping data)
is effective since Treemap 4.1. Prior to that,
a .tms file for directory mapping data would behave
differently, much like as a shortcut that remaps the same
directory (as opposed to loading an input data file,
such as a .tm3 file) and applies the settings found in the
.tms file. This behavior no longer exists since Treemap 4.1.
Contact us at: email@example.com
Return to Treemap main page