eolearn.visualization.eoworkflow

Visualization of EOWorkflow

class eolearn.visualization.eoworkflow.EOWorkflowVisualization(nodes)[source]

Bases: object

Class handling EOWorkflow visualization

Parameters

nodes (Sequence[eolearn.core.eonode.EONode]) – A sequence of topologically ordered workflow nodes

dependency_graph(filename=None)[source]

Visualize the computational graph.

Parameters

filename (Optional[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

graphviz.graphs.Digraph

get_dot()[source]

Generates the DOT description of the underlying computational graph.

Returns

The DOT representation of the computational graph

Return type

graphviz.graphs.Digraph