QubitPi commited on
Commit
68de0a5
1 Parent(s): 1788e80

Add Grass styling file (#52)

Browse files
Files changed (2) hide show
  1. README.md +2 -0
  2. graphstyle.grass +18 -0
README.md CHANGED
@@ -54,6 +54,8 @@ docker run \
54
  --env=NEO4J_AUTH=none \
55
  --env=NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \
56
  -e NEO4JLABS_PLUGINS=\[\"apoc\"\] \
 
 
57
  jack20191124/wilhelm-vocabulary
58
  ```
59
 
 
54
  --env=NEO4J_AUTH=none \
55
  --env=NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \
56
  -e NEO4JLABS_PLUGINS=\[\"apoc\"\] \
57
+ --env NEO4J_browser_remote__content__hostname__whitelist=https://raw.githubusercontent.com \
58
+ --env NEO4J_browser_post__connect__cmd="style https://raw.githubusercontent.com/dhimmel/hetionet/383152be2c07f8f5427dd7069535c82b0c5e8d85/hetnet/neo4j/graphstyle.grass" \
59
  jack20191124/wilhelm-vocabulary
60
  ```
61
 
graphstyle.grass ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ node {
2
+ diameter: 50px;
3
+ color: #A5ABB6;
4
+ border-color: #9AA1AC;
5
+ border-width: 2px;
6
+ text-color-internal: #FFFFFF;
7
+ font-size: 10px;
8
+ caption: '{label}';
9
+ }
10
+ relationship {
11
+ color: #A5ABB6;
12
+ shaft-width: 1px;
13
+ font-size: 8px;
14
+ padding: 3px;
15
+ text-color-external: #000000;
16
+ text-color-internal: #FFFFFF;
17
+ caption: '{label}';
18
+ }