Sharedsupport / 2015-01-20-graphviz-dot.sagewsOpen in CoCalc
Examples for support purposes...
F = GF(3)
gens = [matrix(F,2,[1,0, 1,1]), matrix(F,2, [1,1, 0,1])]
group = MatrixGroup(gens); group
group.cardinality()
G = group.cayley_graph()
G.set_latex_options(format='dot2tex', prog='neato')
G.set_latex_options(color_by_label=True)
latex.eval(latex(G))
Matrix group over Finite Field of size 3 with 2 generators ( [1 0] [1 1] [1 1], [0 1] ) 24
''
show(G)
d3-based renderer not yet implemented