apache_beam.runners.interactive.pipeline_graph module¶
For generating Beam pipeline graph in DOT representation.
This module is experimental. No backwards-compatibility guarantees.
-
class
apache_beam.runners.interactive.pipeline_graph.
PipelineGraph
(pipeline_proto, default_vertex_attrs=None, default_edge_attrs=None)[source]¶ Bases:
object
Creates a DOT representation of the pipeline. Thread-safe.
Constructor of PipelineGraph.
Parameters: - pipeline_proto – (Pipeline proto)
- default_vertex_attrs – (Dict[str, str]) a dict of default vertex attributes
- default_edge_attrs – (Dict[str, str]) a dict of default edge attributes