Sparse6 file format - Maple Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Programming : Input and Output : File Formats : Formats/Sparse6

Sparse6 (.g6) Graph Format - Sparse6 file format



Sparse6 is a text-based file format for storing one or more undirected 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 Sparse6 file encoding the Petersen graph.


C:\Program Files\Maple 2015\data\example\petersen.s6



G:=Graph 1: an undirected unweighted graph with 10 vertices and 15 edge(s)



See Also

Formats, Formats,Graph6, GraphTheory

Download Help Document

Was this information helpful?

Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam