Neo4j 可视化 - 操作图形 [英] Neo4j visualisation-manipulate the graph
问题描述
我目前正在使用 Neo4j Python rest 客户端,我想可视化图表并能够修改它,添加新的节点关系等.此外,我还希望 Neo4j 数据库中的更改.那可能吗?也可以可视化自循环吗?我在 http://www.neo4j.org/develop/visualize 中阅读了有关 D3.js、Neoclipse 和 Gephi 的内容 但我不确定该使用哪个.
I am currently using Neo4j Python rest client and I would like to visualise the graph and be able to amend it, add new nodes relationships etc. Also I would like the changes in the neo4j database as well. Is that possible? Also can self-loops be visualised? I have read about D3.js and Neoclipse and Gephi in http://www.neo4j.org/develop/visualize but I am not sure which one to use.
提前致谢.
推荐答案
您可以使用 Cypher 在 Neo4J 中操作图形,尤其是使用 REST API.
You can manipulate the graph in Neo4J using Cypher, in particular using a the REST API.
允许您与 Cypher 交互的任何类型的工具都有可能完成您的要求:将一些 Cypher 查询与 GUI 结合是一个问题.
Any kind of tool that allows you to interface with Cypher is potentially able to do what you are asking: it is a matter to combine some Cypher queries with the GUI.
说,为您正在做的事情创建正确的可视化可能很棘手,一般方法可能无法满足您的需求:虽然 Neoclipse 可以让您操作 Neo4J 中的节点和链接(免费),但您可能想要在特定的方式(例如限制编辑的选择或要更改的字段/属性).Linkurious 也提供了一种解决方案,但它是商业许可.
Said that, create the right visualization for what you are doing might be tricky and general approach might no satisfy your needs: while Neoclipse can let you manipulate nodes and links in Neo4J (for free) you might want to do in a particular way (for example restricting the choice of editing or the field/properties to be changed). Linkurious offers a solution to do that as well, but it's a commercial license.
KeyLines、d3.js、sigmaJS 等其他解决方案可让您个性化该体验:请注意,它们需要自己创建界面,但恕我直言,如果使用特定产品,结果会好得多.
Other solutions such KeyLines, d3.js, sigmaJS let you personalize that experience: note that they will require to create the interface yourself, but the result will be much better in case of a specific product IMHO.
因此,请珍惜您的时间和要求,并采用适当的解决方案.
So value your time and requirements and go with the proper solution.
有关更多工具,请查看 Neo4J 可视化页面:http://www.neo4j.org/开发/可视化
For more tools have a look at the Neo4J visualization page: http://www.neo4j.org/develop/visualize
这是一个棘手的问题,没有正确的方法来做到这一点 - 想象一个有数百个多自环的场景.我个人建议不要将它们作为链接/边缘绘制在图表上,而以其他方式表示它们:es.节点上的字形、注释、气泡...
that's a tricky bit and there is not a right way to do those - imagine a scenario with hunders of multi-selfloops. Personally I would recommend to NOT draw them on the chart as link/edges, while representing them in some other ways: es. glyphs, notes, bubbles on the node...
这篇关于Neo4j 可视化 - 操作图形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!