eolearn.visualization.eoworkflow_visualization

Visualization of EOWorkflow

class eolearn.visualization.eoworkflow_visualization.EOWorkflowVisualization(workflow)[source]

Bases: object

Class handling EOWorkflow visualization

Parameters

workflow (EOWorkflow) – An instance of a workflow

dependency_graph(filename=None)[source]

Visualize the computational graph.

Parameters

filename (str) – Filename of the output image together with file extension. Supported formats: png, jpg, pdf, … . Check graphviz Python package for more options

Returns

The DOT representation of the computational graph, with some more formatting

Return type

Digraph

get_dot()[source]

Generates the DOT description of the underlying computational graph.

Returns

The DOT representation of the computational graph

Return type

Digraph