2fe15f36fe2540b794ecb1a0d4e8c5a97ba7ff79
2 from grid
.cellgroup
import Diagonal
6 grid
= Grid
.from_string("""
18 grid
.add_constraint(Diagonal(grid
, direction
='down', offset
=0))
19 grid
.add_constraint(Diagonal(grid
, direction
='up', offset
=0))
21 r
= render
.text
.AsciiArtGridRenderer()
22 print r
.render_grid(grid
)
26 print r
.render_grid(grid
)