First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

One possibility

sage: A = AbelianGroup([4,5])
sage: G = A.cayley_graph()
sage: pos = {g: g.list() for g in A}
sage: G.set_pos(pos)
sage: G.show()

There might be a similar solution using FGAbelian but I did not find anything as elegant.