微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

InteractiveGraph-neo4j 图数据在线交互服务器

程序名称:InteractiveGraph-neo4j

授权协议: BSD

操作系统: 跨平台

开发语言: Scala

InteractiveGraph-neo4j 介绍

InteractiveGraph-neo4j —— 图数据在线交互服务器

InteractiveGraph-neo4j 基于 Neo4j 数据库为 InteractiveGraph 提供服务器后端。

InteractiveGraph 为大型图数据提供了一个基于 Web 的交互操作框架,其数据可以来自于 GSON 文件,或者在线 Neo4j
数据库

InteractiveGraph 同时也提供了三个基于本框架的应用: GraphNavigator , GraphExplorer 和 Relfinder

图导航器(GraphNavigator) : 在线试用
https://bluejoe2008.github.io/InteractiveGraph/dist/examples/example1.html

图浏览器(GraphExplorer) : 在线试用
https://bluejoe2008.github.io/InteractiveGraph/dist/examples/example2.html

关系查找器(Relfinder) : 在线试用
https://bluejoe2008.github.io/InteractiveGraph/dist/examples/example3.html

InteractiveGraph-neo4j调用InteractiveGraph的架构如下:

快速上手:

1、下载最新版本的graphserver.war和igraph.war
https://github.com/bluejoe2008/InteractiveGraph-neo4j/releases

graphserver.war即为InteractiveGraph-neo4j的java web应用;
igraph.war则包含了InteractiveGraph的3个应用: GraphNavigator , Graphbrowser , 和
Relfinder.

2、将以上war文件置于webapps目录下,启动Web server(Tomcat)
假设server的Web地址为http://yourhost:8080

3、访问如下地址启动Graphbrowser:
http://yourhost:8080/igraph/example12.html

4、你也可以分别访问如下地址启动GraphExplorer和Relfinder
http://yourhost:8080/igraph/example22.html
http://yourhost:8080/igraph/example32.html

服务器配置

InteractiveGraph-neo4j 提供一个 ConnectorServlet 用以实现 HTTP 请求的响应。该 Servlet
初始化时需要指定一个配置文件(properties格式),可以指定数据源来自于一个 GSON 文件、Neo4j 数据库还是一个支持 BOLT
协议的服务器。如下示出如何配置连接到一个本地的 Neo4j 数据库

#allowOrigin=http://localhost:63342

allowOrigin=*

backendType=neo4j-db

neo4j.dataDir=WEB-INF/databases/data.db

neo4j.boltPort=7688



neo4j.regexpSearchFields=name

neo4j.strictSearchFields=label:name

neo4j.nodeCategories=person:人物,event:事件,location:地点

visNodeProperty.label==$prop.name

visNodeProperty.value==$prop.value

...

更多配置项的介绍详见:https://github.com/bluejoe2008/InteractiveGraph-neo4j

欢迎star和试用!!!

InteractiveGraph-neo4j 官网

https://gitee.com/Airzihao/InteractiveGraph-neo4j

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐