Unable to change the neovis.js nodes colors using .grass file

browser
(Sucheta) #1

Hi,

I am able to change the color of the nodes through .grass file by uploading it in Favorites section in Neovis.js . However, i am unable to reflect the same changes in neovis.js . I even put the same .grass file in all the folders of neovis.js. But to no avail. Please help.

My .grass file is -


:style

node {
  diameter: 50px;
  color: #A5ABB6;
  border-color: #9AA1AC;
  border-width: 2px;
  text-color-internal: #FFFFFF;
  font-size: 10px;
}

relationship {
  color: #A5ABB6;
  shaft-width: 1px;
  font-size: 8px;
  padding: 3px;
  text-color-external: #000000;
  text-color-internal: #FFFFFF;
  caption: '<type>';
}

node.Department {
  color: #2B7A78;
  border-color: #2B7A78;
  text-color-internal: #FFFFFF;
  caption: '{title}';
}

node.Method {
  color: #2B7A78;
  border-color: #2B7A78;
  text-color-internal: #FFFFFF;
  caption: '{name}';
}

Image -

This happens in Neo4j ...but corresponding change doesn't reflet in Neovis.js. Any suggestions ?

0 Likes

(Michael Hunger) #2

No neovis is not (yet) equipped to work with grass files, that might change in the future.

0 Likes