class_docstr: Class for drawing in ASCII.
  
  Args:
      cols (int): number of columns in the canvas. Should be > 1.
      lines (int): number of lines in the canvas. Should be > 1.
class_docstr_tok: ["Class","for","drawing","in","ASCII",".","Args",":","cols","(","int",")",":","number","of","columns","in","the","canvas",".","Should","be",">","1.","lines","(","int",")",":","number","of","lines","in","the","canvas",".","Should","be",">","1","."]
code: def __init__(self, cols, lines):
      assert cols > 1
      assert lines > 1
  
      self.cols = cols
      self.lines = lines
  
      self.canvas = [[" "] * cols for line in range(lines)]
  
file_path: dvc/dvc/dagascii.py
imports: import math
  import os
  from grandalf.graphs import Edge, Graph, Vertex
  from grandalf.layouts import SugiyamaLayout
  from grandalf.routing import EdgeViewer, route_with_lines
  from dvc.log import logger
label_desc: Use image node_id 1 to create a new AsciiCanvas object  with example: obj = AsciiCanvas(cols, lines)