nextflow.dag
The nextflow.dag
package implements the workflow DAG and renderers for several diagram formats.
Class Diagram
classDiagram
%%
%% nextflow.dag
%%
Session --* DAG
class DAG {
vertices : List~Vertex~
edges : List~Edge~
}
DAG "1" --* "*" Vertex
DAG "1" --* "*" Edge
class Vertex {
label : String
type : Type
operators : List~DataflowProcessor~
process : TaskProcessor
}
class Edge {
channel : Object
from : Vertex
to : Vertex
label : String
}
%% DagRenderer <|-- CytoscapeHtmlRenderer
%% DagRenderer <|-- CytoscapeJsRenderer
%% DagRenderer <|-- DotRenderer
%% DagRenderer <|-- GexfRenderer
%% DagRenderer <|-- GraphvizRenderer
%% DagRenderer <|-- MermaidRenderer
Note
Some classes may be excluded from the above diagram for brevity.
Notes
The workflow DAG defines the network of processes, channels, and operators that comprise a workflow. It is produced by the execution of the Nextflow script. See nextflow.script for more details.
Implementations of the DagRenderer
interface define how to render the workflow DAG to a particular diagram format. See DAG visualisation for more details.