Treemap 4.1 Documentation


[Previous]   [Table of Contents]   [Next]

Command line arguments

You may have the following command line arguments when you run Treemap.
-i input file
input file can be either a data input file (.tm3/.xml) or a .tms file. If it is a .tms file, the corresponding data input file must be located in the same directory as the .tms file. Treemap will open this file as soon as it starts up.
Example: java -jar treemap.jar -i census.tm3
-n node to highlight
If this argument is used, -i input file has to be used, too. On the opened input file, the node with the label node to highlight will be highlighted. (If the label is not unique, the first one found will be highlighted.)
Example: java -jar treemap.jar -i election.tm3 -n Maryland
-d directory
You give the directory to map as an argument such as C:\Temp. If you use this argument, you cannot use -i input file. Or else, this argument will be ignored and input file will be opened instead.
Example: java -jar treemap.jar -d C:\Temp
-f feature set
You give the name of the feature set you want. When Treemap starts up, only the selected features in feature set will be present.
Example: java -jar treemap.jar -f expert

These command line arguments can be used together in any order as long as they satisfy the conditions discussed above. The same kind of command line argument should not be provided again as in java -jar treemap.jar -i election.tm3 -i census.tm3. Or else, the last command line argument will be used and the earlier ones (of the same kind) will be all ignored.

You can edit run.bat and add the command line arguments there to avoid typing the command line arguments every time you run Treemap, especially if you happen to use the same arguments frequently.

Questions

Contact us at: treemap@cs.umd.edu
Return to Treemap main page

Web Accessibility