MyraMath
myramath
jobgraph
graphviz.h
Go to the documentation of this file.
1
// ========================================================================= //
2
// This file is part of MyraMath, copyright (c) 2014-2019 by Ryan A Chilton //
3
// and distributed by MyraCore, LLC. See LICENSE.txt for license terms. //
4
// ========================================================================= //
5
6
#ifndef MYRAMATH_JOBGRAPH_GRAPHVIZ_H
7
#define MYRAMATH_JOBGRAPH_GRAPHVIZ_H
8
14
#include <myramath/MYRAMATH_EXPORT.h>
15
16
// Output is written into a std::ostream.
17
#include <iosfwd>
18
#include <string>
19
20
namespace
myra
{
21
22
class
JobGraph;
23
class
JobGraphBase;
24
26
// Can take the output and pipe it through dot to make images or vector art:
27
// $ dot -Tpng -v -O graph.dot
28
// $ dot -Tsvg -v -O graph.dot
29
// $ dot -Tpdf -v -O graph.dot
30
MYRAMATH_EXPORT
void
graphviz(
const
JobGraph& graph, std::ostream& out);
31
MYRAMATH_EXPORT
void
graphviz(
const
JobGraph& graph, std::string filename);
32
33
}
// namespace myra
34
35
#endif
myra
Definition:
syntax.dox:1
Generated on Sun Aug 4 2024 12:26:04 for MyraMath by
1.8.13