图数据在线交互服务器 InteractiveGraphServer v0.0.1 发布

栏目: 数据库 · 发布时间: 7年前

内容简介:InteractiveGraphServer日前发布v0.0.1版本。InteractiveGraphServer基于Neo4j数据库为InteractiveGraph 同时也提供了三个基于本框架的应用:

InteractiveGraphServer日前发布v0.0.1版本。

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

InteractiveGraph 同时也提供了三个基于本框架的应用: GraphNavigatorGraphExplorer  和  RelFinder

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

图数据在线交互服务器 InteractiveGraphServer v0.0.1 发布

InteractiveGraphServer调用InteractiveGraph的架构如下:

图数据在线交互服务器 InteractiveGraphServer v0.0.1 发布

快速上手:

1、下载最新版本的graphserver.war和igraph.war

https://github.com/bluejoe2008/InteractiveGraphServer/releases

graphserver.war即为InteractiveGraphServer的java web应用;

igraph.war则包含了InteractiveGraph的3个应用: GraphNavigatorGraphBrowser , 和  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

服务器配置:

InteractiveGraphServer提供一个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/InteractiveGraphServer

欢迎star和试用!!!


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

500 Lines or Less

500 Lines or Less

Amy Brown、Michael DiBernardo / 2016-6-28 / USD 35.00

This book provides you with the chance to study how 26 experienced programmers think when they are building something new. The programs you will read about in this book were all written from scratch t......一起来看看 《500 Lines or Less》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具