5. Functionality 5.1 Installation The application can be downloaded from www.stanford.edu/~yeejiun/276project. All the contents of the file should be unzipped into a directory and the program is started with the following command:
java GraphTree
5.2 User Interface Figure 2 shows the interface that is presented to the user. The user types a query into the query bos and clicks on the “Seach” button to initialize the tree. The application the draws the tree after performing the appropriate queries using the google api. The depth and fanout of the tree is parametized by the user options in the depth and fanout boxes.
Each node of the tree is shown with the URL of that node and a unique ID identifying the node. The user can navigate the tree by typing the node’s ID into the rightmost textbox and clicking “Make Root”. This causes the application to make the appropriate rotations and possibly run additionally queries to make that node the root of the tree.