CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 5
Home
The Gephi Blueprints plugin allows a user to import graph-data from any graph database that implements the Tinkerpop Blueprints generic graph API. Out of the box, the plugin provides support for TinkerGraph, Neo4j, OrientDB, Dex and RexterGraph. Additionally, it also provides support for the FluxGraph temporal graph database.
Start by downloading the Gephi Blueprints plugin binaries available at the download section of this repository. Make sure to download both "nbm"-files:
- org-gephi-blueprints-plugin.nbm: contains the Blueprints graph import logic
- org-gephi-lib-blueprints.nbm: contains all required (Blueprints) dependencies
Start up the Gephi environment and navigate to Tools – Plugins. Proceed to the "downloaded"-tab and click the "Add Plugins …"-button . Select the two downloaded blueprints "nbm"-files and click the "install"-button. Once installed, restart the Gephi environment.
A Rexster-like "configuration"-file needs to be provided for each Blueprints-compatible graph database you wish to access from Gephi.
- Start by creating a "graph"-folder in the "gephi/etc"-directory.
- A separate configuration file is expected for each graph database you wish to access from Gephi. Below, you find an example configuration file for all supported graph databases. Make sure to adapt the configuration to your specific graph database setup.
###tinkergraph.xml
<graph>
<graph-name>Tinkergraph Blueprints reference implementation</graph-name>
<graph-type>com.tinkerpop.rexster.config.TinkerGraphGraphConfiguration</graph-type>
<graph-location>/TEMP/tinkergraph</graph-location>
<graph-mock-tx>true</graph-mock-tx>
</graph>
###neo4j.xml
<graph>
<graph-name>Neo4j Graph Database</graph-name>
<graph-type>com.tinkerpop.rexster.config.Neo4jGraphConfiguration</graph-type>
<graph-location>/TEMP/neo4j</graph-location>
<properties>
<neostore.nodestore.db.mapped_memory>285M</neostore.nodestore.db.mapped_memory>
<neostore.relationshipstore.db.mapped_memory>285M</neostore.relationshipstore.db.mapped_memory>
<neostore.propertystore.db.mapped_memory>100M</neostore.propertystore.db.mapped_memory>
<use_adaptive_cache>YES</use_adaptive_cache>
<adaptive_cache_heap_ratio>0.77</adaptive_cache_heap_ratio>
<adaptive_cache_manager_decrease_ratio>1.15</adaptive_cache_manager_decrease_ratio>
<adaptive_cache_manager_increase_ratio>1.1</adaptive_cache_manager_increase_ratio>
<adaptive_cache_worker_sleep_time>3000</adaptive_cache_worker_sleep_time>
<min_node_cache_size>0</min_node_cache_size>
<min_relationship_cache_size>0</min_relationship_cache_size>
<max_node_cache_size>1500</max_node_cache_size>
<max_relationship_cache_size>3500</max_relationship_cache_size>
</properties>
</graph>
###orientdb.xml
<graph>
<graph-name>OrientDB</graph-name>
<graph-type>com.tinkerpop.rexster.config.OrientGraphConfiguration</graph-type>
<graph-location>local:/TEMP/orient</graph-location>
<properties>
<username>admin</username>
<password>admin</password>
</properties>
</graph>
###dex.xml
<graph>
<graph-name>Dex</graph-name>
<graph-type>com.tinkerpop.rexster.config.DexGraphConfiguration</graph-type>
<graph-location>/TEMP/dex</graph-location>
</graph>
###rextergraph.xml
<graph>
<graph-name>RexterGraph</graph-name>
<graph-type>com.tinkerpop.rexster.config.RexsterGraphGraphConfiguration</graph-type>
<graph-buffer-size>100</graph-buffer-size>
<graph-location>https://localhost:8182/graphs/neo4jsample</graph-location>
</graph>
###fluxgraph.xml
<graph>
<graph-name>FluxGraph Temporal Database</graph-name>
<graph-type>org.gephi.blueprints.plugin.config.FluxGraphGraphConfiguration</graph-type>
<graph-location>datomic:free://localhost:4334/data</graph-location>
</graph>
Navigate to File – Import Database in order to import data from one your pre-configured graph databases. Next, select the “Graph Database …”-option.
A selection-window should pop-up that contains all of your pre-configured graph databases. Select the desired graph database and click the "Ok"-button. Once all graph data is loaded, all Gephi-functionalities are at your disposal. Happy analysis!