Graph6 (.g6) Graph Format
Graph6 file format
Graph6 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 Graph6 file encoding the Petersen graph.
petersen ≔ FileTools:-JoinPath⁡example/petersen.g6,base=datadir
C:\Program Files\Maple 2016\data\example\petersen.g6
G ≔ Import⁡petersen
G ≔ Graph 1: an undirected unweighted graph with 10 vertices and 15 edge(s)
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.