How to visualise a neo4j graph in python?

how to receive the graph from neo4j to python. Is there any way that I can visualize that graph developed by neo4j in python?

The graph that appears at Neo4J desktop or neo4j browser isn't data itself but the interpretation of data. What's the context of use? You'll display it on a website?

Check this article, most of the alternatives use JavaScript in order to display the data on the frontend.

Hi there,

You may try to use this package 'neo4jupyter' for your requirement.

Following steps are to be carried out:

  1. Install and import the neo4jupyter package.
    1.1. !pip install neo4jupyter
    1.2. import neo4jupyter
  2. Create a py2neo graph object
    2.1. from py2neo import Graph
    2.2. g=Graph(url,auth=(user, password)
  3. Call the neo4jupyter.draw(g,{'label_name':'attribute_name'})

This will visualize the attributes for the given label in Jupyter notebook.

Hope this helps

Thanks
Ishwarya