8.2.7.1.1.12. __iter__ΒΆ

_DspPlot.__iter__(subgraph: bool = False) Iterator[str]

Yield the DOT source code line by line (as graph or subgraph).

Yields: Line ending with a newline ('\n').