Jump to content

Trivial Graph Format

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 212.98.136.42 (talk) at 17:18, 17 September 2009 (cat). 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