Social Network Graph (GEXF)
The same 12-person social network in GEXF 1.3 (Gephi's native format) — node attributes and weighted edges. The format twin of the GraphML file, for testing Gephi imports and GraphML↔GEXF conversion.
<?xml version="1.0" encoding="UTF-8"?>
<gexf xmlns="http://gexf.net/1.3" version="1.3">
<meta lastmodifieddate="2026-01-01">
<creator>Novus Examples</creator>
<description>Synthetic social network — 12 people, two communities</description>
</meta>
<graph mode="static" defaultedgetype="undirected">
<attributes class="node">
<attribute id="age" title="age" type="integer"/>
<attribute id="community" title="community" type="string"/>
</attributes>
<nodes>
<node id="0" label="Ada">
<attvalues>
<attvalue for="age" value="29"/>
<attvalue for="community" value="A"/>
</attvalues>
</node>
<node id="1" label="Ben">
<attvalues>
<attvalue for="age" value="34"/>
<attvalue for="community" value="A"/>
</attvalues>
</node>
<node id="2" label="Chen">
<attvalues>
<attvalue for="age" value="41"/>
<attvalue for="community" value="A"/>
</attvalues>
</node>
<node id="3" label="Dara">
<attvalues>
<attvalue for="age" value="26"/>
<attvalue for="community" value="A"/>
</attvalues>
</node>
<node id="4" label="Ede">
<attvalues>
<attvalue for="age" value="38"/>
<attvalue for="community" value="A"/>
</attvalues>
</node>
<node id="5" label="Faye">
<attvalues>
<attvalue for="age" value="31"/>
<attvalue for="community" value="B"/>
</attvalues>
</node>
<node id="6" label="Gus">
<attvalues>Specifications
- Nodes
- 12
- Edges
- 21
- Directed
- false
- Format
- GEXF 1.3 (Gephi)
What is a .gexf file?
GEXF (Graph Exchange XML Format) is an XML format for graphs created for the Gephi network-analysis tool. It describes nodes and edges with attributes and also supports dynamic (time-evolving) graphs and visual properties like position and colour. It is a common interchange format alongside GraphML.
How to use this file
Use an example GEXF file to test network importers and visualisers (especially Gephi), and converters between GEXF and GraphML, or to check that node/edge attributes and weights are parsed correctly.
Related files
- graphmlService Dependency Graph (GraphML, directed)A directed service-dependency graph in GraphML — ten microservices (web, api, auth, db, cache, queue, worker, …) with their call/dependency edges. A fixture for testing directed-graph importers, cycle detection, and topological sorting.

- csvBank Transactions (CSV, 60 rows)A bank-transaction statement — 60 debits and credits across three accounts (masked numbers) with running balances, categories, and merchants. Synthetic data for testing statement parsers, categorisation, and reconciliation.

- jsonBank Transactions (JSON, 60 records)The bank transactions as a JSON array — the format twin of the CSV, for import and reconciliation testing.

- csvE-commerce Customers (CSV, 500 rows)A realistic e-commerce customer directory (500 rows) — part of a relational dataset (products, customers, orders) with CSV, JSON, SQL, and Parquet twins for testing joins, imports, and conversion.

- jsonE-commerce Customers (JSON, 500 records)The e-commerce customers table as a JSON array — the format twin of the CSV, for import and conversion testing.

- sqlE-commerce Database Schema (SQL)A relational SQL schema (products, customers, orders with primary and foreign keys) plus sample INSERTs — the DDL twin of the e-commerce dataset, for testing schema import and migrations.

Generated by generation/data_graphs.py. Free for any use, no attribution required — license.