# Google Analytics

Define the navigation tree state in a hyperlink

This article will help you if you want to open any page in the iGrafx repository model area via a link from an external page or even a Web Address object in the repository itself and need to control if the tree is expanded or collapsed.

The URL of an object/diagram can be modified to show or hide the repository tree by embedding the text '?tree=show' for 'showing' and '?tree=hide' for 'hiding' the tree.

  1. Go to the object you want to use as a reference and copy the URL.
  2. Paste it to the place you want to use the link.
  3. Add the flag tree to the URL and define the states show or hide.

For example, if the original URL is: 

hen to hide the repository tree, use this URL: