async def get_related_nodes(self, node_id: str) -> list:
        """
        Search the graph for relevant nodes or relationships based on node id.

        Args:
            node_id (str): The name of the node to match against nodes in the graph.

        """
        user = await cognee.modules.users.methods.get_default_user()
        return await cognee.search(
            query_type=cognee.api.v1.search.SearchType.INSIGHTS,
            query_text=node_id,
            user=user,
        )

        Search the graph for relevant nodes or relationships based on node id.

        Args:
            node_id (str): The name of the node to match against nodes in the graph.

        
llama-index-integrations/graph_rag/llama-index-graph-rag-cognee/llama_index/graph_rag/cognee/graph_rag.py