简体   繁体   English

对ArangoDB的可视查询支持

[英]Visual query support for ArangoDB

I am looking for solution that will help me do visual queries on ArangoDB. 我正在寻找可以帮助我在ArangoDB上进行可视查询的解决方案。 Things I am looking for is something like get me all people who have used car XYZ in past 1 month . 我要寻找的东西就像是get me all people who have used car XYZ in past 1 month一样。 In this simple example I would have 2 entities person and car and one link used_car . 在这个简单的示例中,我将有2个实体personcar以及一个链接used_car Person objects would be anonymous - meaning I do not know their IDs, but I know ID of a car I am looking for. Person对象将是匿名的-意味着我不知道其ID,但我知道我要寻找的汽车的ID。

This is just small example, I would like to be able to do more complex queries using some visual library. 这只是一个小例子,我希望能够使用某些可视库进行更复杂的查询。 Visualization part is not important, important for me is if there is any guide/best practice for transformation of some visual requests to AQL code? 可视化部分并不重要,对我而言重要的是是否存在将某些视觉请求转换为AQL代码的任何指南/最佳实践?

Although not for ArangoDB graph database, I have found something like this for Neo4j http://popotojs.com that does mostly what I want. 尽管不适用于ArangoDB图形数据库,但我发现针对Neo4j http://popotojs.com的此类文件基本上可以满足我的要求。 Is there anything similar for arango? 阿兰戈有什么类似的东西吗?

Well, there is nothing built special purpose for ArangoDB like popotojs. 嗯,没有像popotojs那样为ArangoDB构建任何特殊用途。 However, there are a number of libraries that could allows you to build something like popotojs in a relatively short time. 但是,有许多库可以让您在较短的时间内构建诸如popotojs之类的库。

Two libraries that come to mind from the top of my head are: 我想到的两个库是:

KeyLines (Commercial - tutorial to use with ArangoDB here ) KeyLines (商业- 此处用于ArangoDB的教程)

Cytoscapejs (Open source - tutorial to use with ArangoDB here ) Cytoscapejs (开放源代码- 此处用于ArangoDB的教程)

Note that the Cytoscape tutorial shows exporting the data and then importing into the desktop version of cityscape, I have successfully just loaded directly data from ArangoDB to Cytoscapejs via a small node app in the past. 请注意,Cytoscape教程显示了如何导出数据,然后将其导入到城市景观的桌面版本中,我过去已经通过一个小型节点应用程序成功地将数据从ArangoDB直接加载到Cytoscapejs。

An additional plus, is that you can use these libraries with any data and not be limited to just Neo4j. 另外一个好处是,您可以将这些库与任何数据一起使用,而不仅限于Neo4j。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM