我已经更新到 neo4j 2.0,我目前正绝望地尝试为我的图表编辑 Web 管理样式表。旧版本有一个舒适的样式编辑器,我在新版本中找不到。
显示一条消息,可能解释如何编辑样式表:“Drop Cypher script file to importDrop a Grass-file here to import”。但是我不明白这个消息。
有人知道为 neo4j 2.0 编辑图形样式表的任何教程吗?
提前致谢,
岩内
我已经更新到 neo4j 2.0,我目前正绝望地尝试为我的图表编辑 Web 管理样式表。旧版本有一个舒适的样式编辑器,我在新版本中找不到。
显示一条消息,可能解释如何编辑样式表:“Drop Cypher script file to importDrop a Grass-file here to import”。但是我不明白这个消息。
有人知道为 neo4j 2.0 编辑图形样式表的任何教程吗?
提前致谢,
岩内
在 Neo4j 2.0.0 中,您不能就地编辑样式表。相反,您必须使用标题文本“Graph Style Sheet”右侧的下载符号下载样式表。使用您喜欢的编辑器在本地编辑下载的文件,然后将其拖放到指定的放置区域。
下载样式表后,很容易在编辑器中打开文本文件。您只需根据自己的喜好查找颜色代码。例如:
node {
diameter: 40px; #you can change this value to your size preference for diameter of the node
color: #DFE1E3; #this is the value that you need to google.
border-color: #D4D6D7; # same as above
border-width: 2px; #width of node border
text-color-internal: #000000; #pretty obvious
caption: '{Date}';
font-size: 14px; #also obvious
}
relationship {
color: #D4D6D7;
shaft-width: 1px;
font-size: 4px;
padding: 3px;
text-color-external: #000000;
text-color-internal: #FFFFFF;
}