TGF (.tgf) Graph Format
TGF file format
Description
Examples
TGF (Trivial Graph Format) is a simple text-based file format for storing a single graph.
It also allows the application of labels to vertices and edges.
The format does not specify whether the graph is directed or undirected.
The GraphTheory[ImportGraph] and GraphTheory[ExportGraph] commands can read from and write to this format.
The general-purpose commands Import and Export also support this format.
Import a TGF file encoding a directed graph.
Export the Dyck graph to a TGF file in the home directory of the current user.
See Also
Formats
GraphTheory
Download Help Document