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 hardcode node colour in neovis

Hey folks,
I want to set the 'red' colour to a node label while visualizing it in neovis, how can I do that? I didn't find anything in the neovis documentation.

My current config looks like this:

var config = {
        container_id: "similarity",
        server_url: "*********************",
        server_user: "******",
        server_password: "******",
        labels: {
            "Side_effect": {
                caption: "name",
            },
            "Adverse_Event": {
                caption: "name",
                //color:'red'
                 
            },
            "Ingredient":{
                caption: "name",
            
            },
            "Product":{
                caption: "name",
                
            },
            
        },
       

Here, I want to give the 'red' colour to the 'Adverse_Event' nodes. Thanks in advance!

0 REPLIES 0
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online