pprint_thing(thing: 'Any', _nest_lvl: 'int' = 0, escape_chars: 'EscapeChars | None' = None, default_escapes: 'bool' = False, quote_strings: 'bool' = False, max_seq_items: 'int | None' = None) -> 'str'
with pprint_sequence, this argument is used to keep track of the current nesting level, and limit it.
Characters to escape. If a dict is passed the values are the replacements
Whether the input escape characters replaces or adds to the defaults
Pass through to other pretty printers to limit sequence printing
This function is the sanctioned way of converting objects to a string representation and properly handles nested sequences.
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them