hugegraph / hugegraph-studio

HugeGraph Database web UI
Apache License 2.0
42 stars 33 forks source link

关于如何修改边的颜色问题, #37

Open AmbitiousHERO opened 4 years ago

AmbitiousHERO commented 4 years ago

我按照hugugraph文档里修改顶点的例子修改边,并未生效。我看studio中有默认配置颜色,我利用的是建模型是 sechema.edgelabe().userdata("vis.color","#fb157e")我不知道该如何写,麻烦请告知一下 谢谢了

javeme commented 4 years ago

studio目前只支持设置顶点颜色,如:

graph.schema().vertexLabel("software")
     .userdata("vis.background","#3366ff")
     .append()

文档请参考:https://hugegraph.github.io/hugegraph-doc/quickstart/hugegraph-studio.html

AmbitiousHERO commented 4 years ago

好的 我是说我看了文档 按照文档的形式更改边的颜色 改不了,麻烦了 谢谢您

------------------ 原始邮件 ------------------ 发件人: "Jermy Li"<notifications@github.com>; 发送时间: 2020年2月28日(星期五) 下午2:06 收件人: "hugegraph/hugegraph-studio"<hugegraph-studio@noreply.github.com>; 抄送: "超级英雄"<1160419337@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [hugegraph/hugegraph-studio] 关于如何修改边的颜色问题, (#37)

studio目前只支持设置顶点颜色,如: graph.schema().vertexLabel("software") .userdata("vis.background","#3366ff") .append()

文档请参考:https://hugegraph.github.io/hugegraph-doc/quickstart/hugegraph-studio.html

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.