Belle II Software development
|
class to visualize data flow between modules. More...
#include <DataFlowVisualization.h>
Public Member Functions | |
DataFlowVisualization (const DependencyMap *dependencyMap) | |
Constructor. | |
void | visualizePath (const std::string &filename, const Path &path) |
Create graphs with datastore inputs/outputs of each module in path. | |
Static Public Member Functions | |
static void | executeModuleAndCreateIOPlot (const std::string &module) |
Create independent I/O graph for a single module (without requiring a steering file). | |
Private Member Functions | |
void | generateModulePlot (std::ofstream &file, const Module &mod, bool steeringFileFlow=false) |
Create I/O graph for a single module (written to file). | |
bool | checkArrayUnknown (const std::string &name, const DependencyMap::ModuleInfo &info) |
If the given array name isn't found in any of info's fields, it is added to m_unknownArrays (and true returned). | |
Static Private Member Functions | |
static void | plotPath (std::ofstream &file, const Path &path, const std::string &pathName="") |
Create a subgraph for the given Path (including conditional paths). | |
Private Attributes | |
const DependencyMap * | m_map |
Stores information on inputs/outputs of each module, as obtained by require()/createEntry();. | |
std::set< std::string > | m_allInputs |
set of all inputs (including optionals), for steering file visualisation. | |
std::set< std::string > | m_allOutputs |
set of all outputs, for steering file visualisation. | |
std::set< std::string > | m_unknownArrays |
set of array only being used in relations, for steering file visualisation. | |
std::string | m_fillcolor [DependencyMap::c_NEntryTypes] |
fill colors. | |
std::string | m_arrowcolor [DependencyMap::c_NEntryTypes] |
arrow colors. | |
class to visualize data flow between modules.
Definition at line 24 of file DataFlowVisualization.h.
|
explicit |
Constructor.
Definition at line 26 of file DataFlowVisualization.cc.
|
private |
If the given array name isn't found in any of info's fields, it is added to m_unknownArrays (and true returned).
Definition at line 189 of file DataFlowVisualization.cc.
|
static |
Create independent I/O graph for a single module (without requiring a steering file).
Output will be saved to ModuleName.dot.
Definition at line 165 of file DataFlowVisualization.cc.
|
private |
Create I/O graph for a single module (written to file).
Definition at line 106 of file DataFlowVisualization.cc.
|
staticprivate |
Create a subgraph for the given Path (including conditional paths).
Definition at line 71 of file DataFlowVisualization.cc.
void visualizePath | ( | const std::string & | filename, |
const Path & | path | ||
) |
Create graphs with datastore inputs/outputs of each module in path.
filename | file saved to (in DOT format). |
path | Path to visualize. |
Definition at line 38 of file DataFlowVisualization.cc.
|
private |
set of all inputs (including optionals), for steering file visualisation.
Definition at line 54 of file DataFlowVisualization.h.
|
private |
set of all outputs, for steering file visualisation.
Definition at line 55 of file DataFlowVisualization.h.
|
private |
arrow colors.
Definition at line 59 of file DataFlowVisualization.h.
|
private |
fill colors.
Definition at line 58 of file DataFlowVisualization.h.
|
private |
Stores information on inputs/outputs of each module, as obtained by require()/createEntry();.
Definition at line 52 of file DataFlowVisualization.h.
|
private |
set of array only being used in relations, for steering file visualisation.
Definition at line 56 of file DataFlowVisualization.h.