InteractiveGraph-neo4j v0.01 釋出,圖資料線上互動伺服器
圖資料線上互動伺服器InteractiveGraph-neo4j v0.01正式釋出。
InteractiveGraph-neo4j基於Neo4j資料庫為 ofollow,noindex" target="_blank">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/releasesgraphserver.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://gitee.com/Airzihao/InteractiveGraph-neo4j
歡迎star和試用!!!