def variable_to_svg(var):
    """Converts a Variable object to SVG element"""
    return ['<text x="{}" y="{}" font-size="16px" font-family="serif" text-anchor="middle" fill="#ff0000">{}</text>'.format(var.x, var.y, var.name)]