O'Reilly logo

Gephi Cookbook by Devangana Khokhar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Importing data from MySQL databases

So far, we have learned how to work with graph or network data present in the form of comma-separated value (csv) files, GEXF files, GML files, and so on. These are all ways of explicitly gathering data into files that are directly ingestible by Gephi. One really cool feature of Gephi is its ability to ingest data directly from sources such as MySQL databases. In this recipe, we will learn how to get network/graph data from the MySQL database and consume it directly in Gephi for analysis.

Getting ready

To perform this recipe, ensure that you have a MySQL database set up on your system and running. The installation of MySQL databases is beyond the scope of this book but there is enough documentation on the Internet ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required