rs_rich.diagram¶
Generated from the type stubs by scripts/gen_python_api.py; do not edit.
rs_rich.diagram: graph diagrams (rs-rich-diagram; no Rich counterpart).
Graph is a graph built in code: node and edge add to it and return
it, so calls chain. Diagram draws one with box-drawing characters (or
ASCII), laid out in layers; draw_graph gives the lines. Dot draws a
DOT (Graphviz) source natively, and parse_dot reads one, raising
DotError with the line (and the unsupported construct).
Diagram ¶
DiagramEdge ¶
DiagramError ¶
Bases: Exception
The base of the diagram errors.
DiagramLayoutError ¶
Bases: DiagramError
A graph too large to lay out.
Dot ¶
DotCluster ¶
DotError ¶
Bases: DiagramError
A DOT source could not be read: line is where, and construct
names what this parser does not support (None for a syntax error).