为什么向图形样式 sheet 添加新属性在 Neo4j 中不起作用?
Why does adding new properties to the graph style sheet not work in Neo4j?
Neo4j Browser User Interface says that I can run :style
, export it, modify it and drag it back to change the style. I try changing the default border width, and adding two new properties for nodes: text-align
and shape
, as explained in Graph Stylesheets 的开发者指南:
node {
diameter: 50px;
color: #A5ABB6;
border-color: #9AA1AC;
border-width: 10px;
text-color-internal: #FFFFFF;
font-size: 10px;
text-align: "below";
shape: regtangle;
}
但只有边框宽度发生变化。为什么其余的不起作用?
text-align
和 shape
似乎不是 Neo4j 浏览器支持的属性。
styling guide in the browser manual 列出八个属性。
并且根据这个列表,似乎只有文本的颜色是可以自定义的。
Neo4j Browser User Interface says that I can run :style
, export it, modify it and drag it back to change the style. I try changing the default border width, and adding two new properties for nodes: text-align
and shape
, as explained in Graph Stylesheets 的开发者指南:
node {
diameter: 50px;
color: #A5ABB6;
border-color: #9AA1AC;
border-width: 10px;
text-color-internal: #FFFFFF;
font-size: 10px;
text-align: "below";
shape: regtangle;
}
但只有边框宽度发生变化。为什么其余的不起作用?
text-align
和 shape
似乎不是 Neo4j 浏览器支持的属性。
styling guide in the browser manual 列出八个属性。
并且根据这个列表,似乎只有文本的颜色是可以自定义的。