4.1.10.3. flow/Printer¶
- class mod.FlowPrinter¶
An object of this class holds information on how derivation graphs with flow are visualised.
- withFlowLabels¶
Control whether or not a flow label is appended to each hyperedge label (see also
DGPrinter.pushEdgeLabel()
).- Type
- pushInEdgeLabel(f)¶
Add another function for in-edge labelling. The result of this function is appended to each label using the edge label separator of the underlying
DGPrinter
.
- popInEdgeLabel()¶
Remove the last pushed in-edge labelling function.
- Raises
LogicError
if no callback is left to pop.
- pushOutEdgeLabel(f)¶
Add another function for out-edge labelling. The result of this function is appended to each label using the edge label separator of the underlying
DGPrinter
.
- popOutEdgeLabel()¶
Remove the last pushed out-edge labelling function.
- Raises
LogicError
if no callback is left to pop.