在Neo4j 2.0.0中设置关系的标题。浏览器 [英] Setting caption of relationships in Neo4j 2.0.0. browser

查看:950
本文介绍了在Neo4j 2.0.0中设置关系的标题。浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Neo4j 2.0.0浏览器中,我尝试使用.grass文件设置关系样式。

In Neo4j 2.0.0 browser I'm trying to set styling of relationships using the .grass file.

我的图表包括

//Output :Affects Outcome
create (op1)-[:Affects {level:"Strong", direction:"Positive" }]->(oc1)

并且我的.grass文件包含

and my .grass file contains

relationship.Affects {
  color: blue;
  caption : '{type} {level} {direction}';
  shaft-width: 2px;
  font-size: 10px;
  padding: 3px;
  text-color-external: #000000;
  text-color-internal: #FFFFFF;
}

我试图实现的是蓝色箭头说影响强烈,但不知道如何设置标题。无法找到可以通过.grass设置的属性列表。

what I try to achieve is blue arrows (this works) with a caption that says "Affects Strong Positive", but can't figure out how to set the caption. Can't find a list of attributes that can be set through .grass either.

任何帮助感谢

推荐答案

目前,字幕只适用于节点;关系总是显示它们的类型。

At the moment, captions only apply to Nodes; relationships always display their type. Allowing a caption for relationships is something we'll take a look at as we evolve the grass styling.

正式化草图规范,然后实现直接编辑就在路线图上。

Formalizing the grass specification and then enabling direct editing is on the roadmap.

Best,
Andreas

Best, Andreas

这篇关于在Neo4j 2.0.0中设置关系的标题。浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆