#include <Dot.h>
|
static void | dot (const std::string &data, bool runsInBackground) |
|
static void | dot2 (const std::string &data) |
|
static void | dot (const std::string &data, std::string outputType, const std::string &outputFile) |
|
|
static void | run (const std::string &data, const std::string &outputType, const std::optional< std::string > &outputFile, bool runInBackground) |
|
|
static std::vector< std::string > | allowedOutputTypes { "dot", "xdot", "ps", "pdf", "svg", "svgz", "fig", "png", "gif", "jpg", "jpeg", "json", "imap", "cmapx" } |
|
Dot visualisation executioner.
◆ dot() [1/2]
void cli::builtin::Dot::dot |
( |
const std::string & |
data, |
|
|
bool |
runsInBackground |
|
) |
| |
|
static |
Cli builtin command for DOT format visualization. Runs dot -Tx11.
- Parameters
-
dot | a string containing dot data |
runsInBackground | specify whether run in background and not block CLI input |
◆ dot() [2/2]
void cli::builtin::Dot::dot |
( |
const std::string & |
data, |
|
|
std::string |
outputType, |
|
|
const std::string & |
outputFile |
|
) |
| |
|
static |
Cli builtin command for DOT format visualization. Runs dot -T<outputType> -o <outputFile> and blocks until done.
- Parameters
-
data | a string containing dot data |
outputType | the type of dot created image |
outputFile | the destination file name |
◆ dot2()
void cli::builtin::Dot::dot2 |
( |
const std::string & |
data | ) |
|
|
static |
Cli builtin command for DOT format visualization. Runs dot -Tx11 and does not block.
- Parameters
-
dot | a string containing dot data |
◆ run()
void cli::builtin::Dot::run |
( |
const std::string & |
data, |
|
|
const std::string & |
outputType, |
|
|
const std::optional< std::string > & |
outputFile, |
|
|
bool |
runInBackground |
|
) |
| |
|
staticprotected |
◆ allowedOutputTypes
std::vector< std::string > cli::builtin::Dot::allowedOutputTypes { "dot", "xdot", "ps", "pdf", "svg", "svgz", "fig", "png", "gif", "jpg", "jpeg", "json", "imap", "cmapx" } |
|
staticprotected |
The documentation for this class was generated from the following files: