我已经更新到了neo4j 2.0,我现在正不顾一切地试图为我的图表编辑web管理样式表。在老版本中有一个舒适的样式编辑器,我在新版本中找不到。
显示了一条消息,可能是在解释如何编辑样式表:"Drop Cypher script file to importDrop a grass-file here to import“。然而,我不理解这条信息。
有谁知道在neo4j 2.0中编辑图形样式表的教程吗?
提前谢谢你,
岩井
发布于 2014-01-29 04:39:05
在Neo4j 2.0.0中,您不能就地编辑样式表。相反,您必须使用标题文本"Graph Style Sheet“右侧的download symbol下载样式表。使用您喜欢的编辑器在本地编辑下载的文件,并使用拖放将其拖放到指定的拖放区域。
发布于 2014-03-10 22:26:56
下载样式表后,很容易在编辑器中打开文本文件。你只需要根据你的喜好来查找颜色代码。例如:
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;
}Here is a good reference for HTML color values
https://stackoverflow.com/questions/21409282
复制相似问题