def get_nodes(self, request):
        """
        This method is used to build the menu tree.
        """
        nodes = []
        for shiny_app in ShinyApp.objects.all():
            node = NavigationNode(
                shiny_app.name,
                reverse('cms_shiny:shiny_detail', args=(shiny_app.slug,)),
                shiny_app.slug
            )
            nodes.append(node)
        return nodes
This method is used to build the menu tree.