Provides functionality to render index as a tree representation.