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.

[Visualization] Can I clear the current color setting in Neo4j browser?

tw2567
Node Link

Hi there! Thank you for the amazing product and I'm able to create a visualization like this:

Can I know how to clear the color setting for the viz right now? Seems that if I assign a color to a category, I won't be able to revert it to the default gray color.

Also, can I set the color in Cypher? Any other way to style the visualization besides manually changing them?

Thanks!

Best,
Tianyi

1 ACCEPTED SOLUTION

you can reset the whole color/size/label config using :style reset.
Using :style command you get the current grass settings displayed. You can copy&paste that to an editor of choice and modify it. To apply either drag&drop the modified file onto the import pane in "favourites", or use :style <url> to load the file from a local or remote URL.

View solution in original post

4 REPLIES 4

you can reset the whole color/size/label config using :style reset.
Using :style command you get the current grass settings displayed. You can copy&paste that to an editor of choice and modify it. To apply either drag&drop the modified file onto the import pane in "favourites", or use :style <url> to load the file from a local or remote URL.

Thank you very much!

I am using Neo4j Desktop version 1.2.1, and in the Browser I do not see an "import pane" in "Favorites". All I have is "Saved Scripts" and "Sample Scripts". Did this change?

Okay I figured it out with a little help from http://guides.neo4j.com/browser.html
Run :style and copy the style to a file with the extension .grass.
Modify it and drag that file and drop it back on the browser.