Skip to content

Instantly share code, notes, and snippets.

@xagronaut
Last active June 13, 2017 16:36
Show Gist options
  • Save xagronaut/b1ae6ca0009dcb3177f252af441fae17 to your computer and use it in GitHub Desktop.
Save xagronaut/b1ae6ca0009dcb3177f252af441fae17 to your computer and use it in GitHub Desktop.
Sample Graph Stylesheet (.grass) file for Neo4j
node {
diameter: 100px;
color: #FFD86E;
border-color: #EDBA39;
border-width: 2px;
text-color-internal: #604A0E;
font-size: 16px;
/* uncomment this line if you want the "name" property to be the default caption */
/* caption: '{name}'; */
}
relationship {
color: #68BDF6;
shaft-width: 13px;
font-size: 14px;
padding: 3px;
text-color-external: #000000;
text-color-internal: #FFFFFF;
caption: '<type>';
}
node.Organization {
color: #68BDF6;
border-color: #5CA8DB;
text-color-internal: #FFFFFF;
}
node.Person {
color: #6DCE9E;
border-color: #60B58B;
text-color-internal: #FFFFFF;
}
node.Group {
color: #FF756E;
border-color: #E06760;
text-color-internal: #FFFFFF;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment