libstorage-ng
|
Base class for DevicegraphStyleCallbacks and ActiongraphStyleCallbacks. More...
#include <Graphviz.h>
Public Member Functions | |
virtual std::map< std::string, std::string > | graph ()=0 |
Attributes for the graph. | |
virtual std::map< std::string, std::string > | nodes ()=0 |
Default attributes for nodes. | |
virtual std::map< std::string, std::string > | edges ()=0 |
Default attributes for edges. | |
Static Public Member Functions | |
static std::string | escape (const std::string &) |
Helper function to escape a string to a graphviz escString, see https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString. | |
Base class for DevicegraphStyleCallbacks and ActiongraphStyleCallbacks.
The individual functions return the attributes as a map of name and value. For details about the attributes see http://graphviz.org/documentation/.