Digraph6 (.d6) Graph Format
Digraph6 file format
Description
Examples
References
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)
GraphTheory:-DrawGraph⁡G,style=spring
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)
Export⁡graph.d6,G,base=homedir
8
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
See Also
Formats
Formats,Graph6
Formats,Sparse6
GraphTheory
Download Help Document