Jump to content

Trivial Graph Format

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by J.delanoy (talk | contribs) at 16:41, 4 February 2009 (Reverted 2 edits by 93.108.139.109 and 163.166.8.11 to last version by SmackBot (HG)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Trivial Graph Format (TGF) is a very simple, text based, file format for describing graphs. A simple graph with 2 nodes and 1 edge might look like this:

Example

1 First node
2 Second node
#
1 2 Edge between the two

Other Graph File Formats

  • GXL, graph exchange format based on XML -- GXL
  • GML is another widely used graph exchange format. -- GML
  • XGMML an XML-based graph markup language closely related to GML -- XGMML

More on the file format