This method converts a Sparse6 or Graph6 String S to a graph G in the given polynomial ring R.
i1 : R = QQ[a..e]; |
i2 : stringToGraph("Dhc", R)
o2 = Graph{edges => {{a, b}, {b, c}, {c, d}, {a, e}, {d, e}}}
ring => R
vertices => {a, b, c, d, e}
o2 : Graph
|