Question: How to import all graphs in a graph6 file?

   I download one  file about  all 5 connected graphs with graph6  (total 21 graphs). format from http://users.cecs.anu.edu.au/~bdm/data/graphs.html,and I want to import it in Maple. Since platform restrictions , I can not attach the file .   Please download it by yourself,very thanks to you ! 

   I put the file  in the installation path of  Maple in my computer:D:\\ Program Files\Maple 2019. (my computer system is Window 10 )  And I import it like following: 

restart: 
with(GraphTheory):
p:=[Import ("graph5c.g6")];
DrawGraph(p);

  But it  only imports the graph of  the first row in the file. How to import all graphs in a file of graph6 format one time?

 

Please Wait...