Book Image

Gephi Cookbook

Book Image

Gephi Cookbook

Overview of this book

Table of Contents (18 chapters)
Gephi Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Importing data from Neo4j databases


There's a new generation of databases called graph databases in which all the entities are represented in graphical forms, consisting of nodes and edges. One such database is Neo4j. Gephi has the ability to consume data from the Neo4j database. In this recipe, you are going to learn about this.

Getting ready

Download and install Neo4j on your system. Also, download a sample dataset from http://neo4j.com/developer/example-data/. This page also has instructions to load this dataset into Neo4j.

How to do it…

The following steps illustrate how Gephi consumes data from Neo4j:

  1. Start Gephi and click on the Plugins option under the Tools option in the menu bar. This opens up a Plugins window, as shown in the following screenshot:

  2. Click on the Available Plugins tab to view a list of available plugins for download.

  3. Tick the checkbox that is located right next to Neo4j Graph Database.

  4. Hit Install. This installs the Neo4j database plugin in Gephi.

  5. Now click on the File option...