ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 26 Sep 2014 06:31:29 -0500How to list all the connected graphs with 9 vertices?http://ask.sagemath.org/question/24299/how-to-list-all-the-connected-graphs-with-9-vertices/ What I want to do is exactly to list all the connected graphs with 9 vertices which are also `is_long_hole_free()==False`, i.e., contains an induced cycle of length at least 5. But I can only list all the graphs with a given number of vertices, for example
G = GraphQuery(display_cols=['graph6'], num_vertices=2)
L = G.get_graphs_list()
graphs_list.show_graphs(L)
SolomanFri, 26 Sep 2014 06:31:29 -0500http://ask.sagemath.org/question/24299/How to get a graph back from canonical_label graph6_stringhttp://ask.sagemath.org/question/9606/how-to-get-a-graph-back-from-canonical_label-graph6_string/I have a list of graphs that I take their canonical_label 's graph6_string and then I save that list to a file.
Now I want to open that file and get sage graphs from the list of canonical_label graph6_string
How can I do it?
Thank you!dngraphTue, 04 Dec 2012 08:46:46 -0600http://ask.sagemath.org/question/9606/