apache_beam.runners.interactive.display.pipeline_graph_renderer module
For rendering pipeline graph in HTML-compatible format.
This module is experimental. No backwards-compatibility guarantees.
- class apache_beam.runners.interactive.display.pipeline_graph_renderer.PipelineGraphRenderer[source]
- Bases: - BeamPlugin- Abstract class for renderers, who decide how pipeline graphs are rendered. - abstract render_pipeline_graph(pipeline_graph: PipelineGraph) str[source]
- Renders the pipeline graph in HTML-compatible format. - Parameters:
- pipeline_graph – (pipeline_graph.PipelineGraph) the graph to be rendererd. 
- Returns:
- unicode, str or bytes that can be expressed as HTML. 
 
 
- class apache_beam.runners.interactive.display.pipeline_graph_renderer.MuteRenderer[source]
- Bases: - PipelineGraphRenderer- Use this renderer to mute the pipeline display. - render_pipeline_graph(pipeline_graph: PipelineGraph) str[source]
 
- class apache_beam.runners.interactive.display.pipeline_graph_renderer.TextRenderer[source]
- Bases: - PipelineGraphRenderer- This renderer simply returns the dot representation in text format. - render_pipeline_graph(pipeline_graph: PipelineGraph) str[source]
 
- class apache_beam.runners.interactive.display.pipeline_graph_renderer.PydotRenderer[source]
- Bases: - PipelineGraphRenderer- This renderer renders the graph using pydot. - It depends on
- The software Graphviz: https://www.graphviz.org/ 
- The python module pydot: https://pypi.org/project/pydot/ 
 
 - render_pipeline_graph(pipeline_graph: PipelineGraph) str[source]