Digraph6 (.d6) Graph Format
Digraph6 file format
Digraph6 is a text-based file format for storing one or more directed graphs.
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 digraph6 file encoding a simple directed graph with a cycle.
G ≔ Import⁡example/dgex.d6,base=datadir
G≔Graph 1: a directed graph with 4 vertices and 4 arc(s)
Export a digraph to a Digraph6 file in the home directory of the current user.
G ≔ GraphTheory:-Graph⁡5,1,2,2,3,2,4,3,5
G≔Graph 2: a directed graph with 5 vertices and 4 arc(s)
McKay, B.D. and Piperno, A., Practical Graph Isomorphism, II, Journal of Symbolic Computation, 60 (2014), pp. 94-112, doi:10.1016/j.jsc.2013.09.003
Download Help Document