Module: cirq.circuits.text_diagram_drawer

Classes

class TextDiagramDrawer: A utility class for creating simple text diagrams.

Functions

pick_charset(...)

ASCII_BOX_CHARS BoxDrawCharacterSet(top=' ', bottom=' ', left=' ', right=' ', top_bottom='|', top_left='/', top_right='\\', bottom_left='\\', bottom_right='/', left_right='-', top_bottom_left='+', top_bottom_right='+', top_left_right='+', bottom_left_right='+', top_bottom_left_right='+')
BOLD_BOX_CHARS BoxDrawCharacterSet(top='╹', bottom='╻', left='╸', right='╺', top_bottom='┃', top_left='┛', top_right='┗', bottom_left='┓', bottom_right='┏', left_right='━', top_bottom_left='┫', top_bottom_right='┣', top_left_right='┻', bottom_left_right='┳', top_bottom_left_right='╋')
NORMAL_BOX_CHARS BoxDrawCharacterSet(top='╵', bottom='╷', left='╴', right='╶', top_bottom='│', top_left='┘', top_right='└', bottom_left='┐', bottom_right='┌', left_right='─', top_bottom_left='┤', top_bottom_right='├', top_left_right='┴', bottom_left_right='┬', top_bottom_left_right='┼')