Skip to content

EdgeList Format

Dan LaRocque edited this page Sep 5, 2014 · 4 revisions
This is the documentation for Faunus 0.4.
Faunus was merged into Titan and renamed Titan-Hadoop in version 0.5.
Documentation for the latest Titan version is available at http://s3.thinkaurelius.com/docs/titan/current.

  • OutputFormat: com.thinkaurelius.faunus.formats.edgelist.EdgeListOutputFormat

There are two standard types of serialized graph representations: adjacency list and edge list. The adjacency list is the standard Faunus format - a vertex and all of its incident edges. An edge list, on the other hand, is simply a list of all the edges. The edge list format does not support element properties. The format is outVertexId\tinVertexId\tedgeLabel\n.

The Graph of the Gods data set, when represented as an edge list, looks as as follows.

1       4       lives
1       3       brother
1       2       brother
1       0       father
2       5       lives
2       3       brother
2       1       brother
3       11      pet
3       6       lives
3       1       brother
3       2       brother
7       8       mother
7       9       battled
7       10      battled
7       11      battled
7       1       father
11      6       lives