iMSTK
Interactive Medical Simulation Toolkit
|
Writes a TaskGraph to an svg file. Produces unique node names from duplicates with postfix. Can also color by node compute time and highlight the critical path. More...
#include <imstkTaskGraphVizWriter.h>
Public Member Functions | |
void | setInput (std::shared_ptr< TaskGraph > graph) |
The graph to write. | |
void | setFileName (std::string fileName) |
The filename and path to write too. | |
void | setHighlightCriticalPath (bool highlightCriticalPath) |
If on, will highlight the critical path in red. | |
void | setWriteNodeComputeTimesColor (bool writeNodeComputeTimesColor) |
If on, will write the time the node took to complete as a color. | |
void | setWriteNodeComputeTimesText (bool writeNodeComputeTimesText) |
If on, will write the time the node took to complete in name as text. | |
std::shared_ptr< TaskGraph > | getInput () const |
const std::string & | getFileName () const |
bool | getHighlightCriticalPath () const |
bool | getWriteNodeComputeTimesColor () const |
bool | getWriteNodeComputeTimesText () const |
void | write () |
Writes the graph to a file given the filename. | |
Writes a TaskGraph to an svg file. Produces unique node names from duplicates with postfix. Can also color by node compute time and highlight the critical path.
Definition at line 22 of file imstkTaskGraphVizWriter.h.