Save an SVG with rendering of the board

write_svg(x, file)

Arguments

x

A game node

file

File or connection to write to