Lattice layout

Hi there,

I'm working with the "graph_tool.generation.lattice" on a 2D lattice
visualization.

Can you help me to draw a lattice graph, as in the documentation, but not
rotated ?

Thanks in advance.

g = lattice([50, 50])
    idx = g.vertex_index.copy()
    x = g.new_vertex_property("double")
    y = g.new_vertex_property("double")
    x.a = idx.a % 50
    y.a = idx.a // 50
    pos = group_vector_property([x,y])
    graph_draw(g, pos)

Best,
Tiago