cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

How to connect to a neo4j instance, using Neovis?

Hi all, I am quite new to Neovis and Neo4j. I have been working on Neo4j desktop and found out about Neovis.

I am trying to Visualize a graph which I developed in Neo4j desktop. While trying to visualize it on Neovis I have a few doubts on, how to connect the Neo4j instance which I'm currently working on in Neo4j Desktop.
I have gone through the Twitter Troll example provided.

I have referred this link - neovis.js/README.md at master · neo4j-contrib/neovis.js · GitHub

<script type="text/javascript">

        var viz;

        function draw() {
            var config = {
                container_id: "viz",
                server_url: "bolt://localhost:7687",
                server_user: "neo4j",
                server_password: "sorts-swims-burglaries",
                labels: {
                    "Character": {
                        "caption": "name",
                        "size": "pagerank",
                        "community": "community",
                        "title_properties": [
                            "name",
                            "pagerank"
                        ]
                    }

In the above script, what do I need to fill in for container_id, server_url, server_user, server_password ?? As I'm using Neo4j desktop where do I get these information from to connect the neo4j instance. And I'm working on a proxy network for Neo4j Desktop.

Can someone help me on this?
Thank you.

0 REPLIES 0