Reconstruct the constructors used to generate the graph as a string
(useful for repr).
Internally, data is stored as a list of (indent, line) pairs.
|
|
__init__(self,
line_length=80)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
leaf(self,
value)
Non-node nodes (attributes) are displayed using repr. |
source code
|
|
|
|
|
|
|
__compress(self,
lines,
start,
stop)
Try a compact version first. |
source code
|
|
|
|
__bunch_up(self,
lines,
start,
stop)
Scrunch adjacent lines together. |
source code
|
|
|
|
__all_on_one_line(self,
lines,
start,
stop)
Try all on one line. |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|