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.

[Neovis] [Neovis.js] what are labels and relationships?

Hi

I am new to both Neo4j and Neovis.js Can anyone help me understand what is the labels object and how can I configure it for my graph? I have a database on Neo4j and it has nodes, relationships everything. 

I am able to show the data with basic config. which is something like this. I am getting the nodes and lines in the graph, but there is no labels or anything. I wanted to understand what or how can i configure it? 

const config = {
      containerId: "graph-container",
      neo4j: {
        serverUrl: "xyz",
        // serverUser: "neo4j",
        // serverPassword: "sorts-swims-burglaries",
      },
      initialCypher: `MATCH p=()-->() RETURN p LIMIT 25`,
    };​
0 REPLIES 0