![]() |
aGrUM 3.3.2
a C++ library for (probabilistic) graphical models
|
The statements common to the graphs drawn with graphviz : preamble, attributes of nodes and arcs. More...
#include <agrum/agrum.h>#include <agrum/base/core/dot/dotOptions.h>#include <agrum/base/core/dot/dotStyle.h>#include <string_view>Go to the source code of this file.
Namespaces | |
| namespace | gum |
| gum is the global namespace for all aGrUM entities | |
| namespace | gum::dot |
Functions | |
| void | gum::dot::writePreamble (DotWriter &writer, const DotStyle &style, const DotOptions &options, std::string_view defaultLabel="") |
| Writes the beginning of a graph, as pyAgrum displays it. | |
| DotAttributes | gum::dot::nodeAttributes (const DotStyle &style, const DotNodeOptions *options, std::string_view defaultLabel="", std::string_view defaultTooltip="") |
| The attributes of a node : its label and tooltip, and its colors if the options give some. | |
| DotAttributes | gum::dot::arcAttributes (const DotArcOptions *options) |
| The attributes of an arc or an edge given by the options : color, penwidth, label, tooltip and the ones given with setArcAttribute. | |
| void | gum::dot::addDefaultAttribute (DotAttributes &attributes, std::string_view key, std::string_view value) |
| Adds an attribute at the beginning of the list, unless the list already gives a value for this key : the value given by the caller of the toDot() wins over the one of the class. | |
The statements common to the graphs drawn with graphviz : preamble, attributes of nodes and arcs.
Definition in file dotElements.h.