![]() |
aGrUM 3.3.2
a C++ library for (probabilistic) graphical models
|
Look of the graphs drawn with graphviz, read from the configuration. More...
Go to the source code of this file.
Classes | |
| class | gum::dot::DotStyle |
| The look shared by all the graphs: size, direction, layout, colors of the arcs and of the nodes. More... | |
| struct | gum::dot::JunctionTreeDotStyle |
| The style of a junction tree (section notebook): size is the size of the tree, not the one of its map. More... | |
| struct | gum::dot::FactorGraphDotStyle |
| The style of a factor graph (section factorgraph): layout, nodeBgColor and nodeFgColor are the ones of the variables. More... | |
| struct | gum::dot::InfluenceDiagramDotStyle |
| The style of an influence diagram (section influenceDiagram). More... | |
| struct | gum::dot::CausalDotStyle |
| The style of a causal model (section causal): nodeBgColor and nodeFgColor are the ones of the observed variables. More... | |
| struct | gum::dot::DynamicBNDotStyle |
| The style of a dynamic Bayesian network (section dynamicBN) : the colors of its clusters. More... | |
Namespaces | |
| namespace | gum |
| gum is the global namespace for all aGrUM entities | |
| namespace | gum::dot |
Functions | |
| std::string | gum::dot::configFgColor (std::string_view section, std::string_view key) |
| A font color of the configuration, resolved against the background color which goes with it. | |
Look of the graphs drawn with graphviz, read from the configuration.
The look of a graph is given by keys of gum::Configuration (sections notebook, factorgraph, dynamicBN, influenceDiagram, credalnet and causal). A style is a copy of the values of these keys, taken at the moment of the call to read() : a toDot() reads the style once, when it is called, and not when the graph is built, so that it follows the changes of the configuration (the light or dark theme for instance). The font colors of a style are never adaptive: this special value is already resolved (see gum::dot::resolveFgColor) against the background color of the same elements, with the color of the arcs when this background is not a color that can be interpreted.
Definition in file dotStyle.h.