Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
- Loading branch information
1 parent
f1cffd1
commit dcff41a
Showing
17 changed files
with
132 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
(diagram-page)= | ||
|
||
# Workflow Diagram | ||
|
||
The following diagram is a high-level overview of the Nextflow source code in a similar style as the {ref}`workflow diagram <dag-visualisation>` visualization for Nextflow pipelines. Each node and subgraph is a class. Arrows depict the flow of data and/or communication between classes. | ||
|
||
In general, nodes with sharp corners are "record" classes that simply hold information, while nodes with rounded edges are "function" classes that transform some input into an output. Subgraphs are either long-running classes, i.e. "places where things happen", or one of the other two types for which it was useful to expand and show internal details. | ||
|
||
```{mermaid} diagrams/overview.mmd | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
flowchart TB | ||
subgraph Launcher | ||
subgraph CmdRun | ||
subgraph AssetManager | ||
ScriptFile | ||
end | ||
subgraph ConfigBuilder | ||
ConfigParser([ConfigParser]) | ||
ConfigBase([ConfigBase]) | ||
end | ||
subgraph ScriptRunner | ||
subgraph Session | ||
ConfigMap | ||
DAG | ||
ExecutorFactory([ExecutorFactory]) | ||
subgraph TaskProcessor | ||
TaskRun | ||
end | ||
subgraph Executor | ||
subgraph TaskMonitor | ||
TaskHandler | ||
end | ||
TaskBean | ||
BashWrapperBuilder([BashWrapperBuilder]) | ||
end | ||
TraceRecord | ||
CacheFactory([CacheFactory]) | ||
CacheDB | ||
TraceObserver([TraceObserver]) | ||
end | ||
ScriptParser([ScriptParser]) | ||
BaseScript([BaseScript]) | ||
subgraph ScriptMeta | ||
WorkflowDef([WorkflowDef]) | ||
ProcessDef([ProcessDef]) | ||
FunctionDef([FunctionDef]) | ||
end | ||
IncludeDef([IncludeDef]) | ||
OpCall([OpCall]) | ||
end | ||
ConfigParser --> ConfigBase | ||
ConfigBase --> ConfigMap | ||
ScriptFile --> ScriptParser | ||
ScriptParser --> BaseScript | ||
BaseScript --> WorkflowDef | ||
BaseScript --> ProcessDef | ||
BaseScript --> FunctionDef | ||
BaseScript --> IncludeDef | ||
IncludeDef --> ScriptParser | ||
WorkflowDef --> OpCall | ||
OpCall --> DAG | ||
ProcessDef --> DAG | ||
DAG --> TaskRun | ||
TaskRun --> DAG | ||
ExecutorFactory --> Executor | ||
ConfigMap --> Executor | ||
ProcessDef --> TaskProcessor | ||
ConfigMap --> TaskProcessor | ||
TaskRun --> TaskHandler | ||
TaskRun --> TaskBean | ||
TaskBean --> BashWrapperBuilder | ||
BashWrapperBuilder --> TaskHandler | ||
CacheFactory --> CacheDB | ||
TaskHandler --> CacheDB | ||
TaskHandler --> TraceRecord | ||
TraceRecord --> CacheDB | ||
TaskHandler --> TraceObserver | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -121,6 +121,7 @@ flux | |
:maxdepth: 1 | ||
developer/index | ||
developer/diagram | ||
developer/packages | ||
developer/plugins | ||
``` |