Digraph6 - Maple Help

Online Help

All Products    Maple    MapleSim


Digraph6 (.d6) Graph Format

Digraph6 file format

 

Description

Examples

References

Description

• 

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.

Examples

Import a digraph6 file encoding a simple directed graph with a cycle.

GImportexample/dgex.d6,base=datadir

GGraph 1: a directed unweighted graph with 4 vertices and 4 arc(s)

(1)

GraphTheory:-DrawGraphG,style=spring

Export a digraph to a Digraph6 file in the home directory of the current user.

GGraphTheory:-Graph5,1,2,2,3,2,4,3,5

GGraph 2: a directed unweighted graph with 5 vertices and 4 arc(s)

(2)

Exportgraph.d6,G,base=homedir

8

(3)

References

  

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