Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Gephi Network Visualization

You're reading from   Mastering Gephi Network Visualization Produce advanced network graphs in Gephi and gain valuable insights into your network datasets

Arrow left icon
Product type Paperback
Published in Jan 2015
Publisher
ISBN-13 9781783987344
Length 378 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Toc

Table of Contents (13) Chapters Close

Preface 1. Fundamentals of Complex Networks and Gephi FREE CHAPTER 2. A Network Graph Framework 3. Selecting the Layout 4. Network Patterns 5. Working with Filters 6. Graph Statistics 7. Segmenting and Partitioning a Graph 8. Dynamic Networks 9. Taking Your Graph Beyond Gephi 10. Putting It All Together A. Data Sources and Other Web Resources Index

Creating dynamic GEXF files


While Gephi can be used to create GEXF files, it can be advantageous in many cases to have the file already prepared prior to importing data into Gephi. For any reader acquainted with XML, the formatting and structure will appear very familiar. If you aren't an XML expert, we'll walk through some of the GEXF basics to help you get started.

The code in this section is based on the examples from the http://gexf.net/format/ site, which provides a general primer for how to structure the data. At a very basic level, the GEXF file is designed to represent a single graph, although that graph might contain many nodes and edges. For a very basic example with two nodes and a single edge between them, the GEXF code would look like this:

<?xml version="1.0" encoding="UTF-8"?>
<gexf xmlns="http://www.gexf.net/1.2draft" version="1.2">
    <meta lastmodifieddate="2009-03-20">
        <creator>Gexf.net</creator>
        <description>A Web network...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime