23#ifndef STORAGE_GRAPHVIZ_H
24#define STORAGE_GRAPHVIZ_H
48 PRETTY_CLASSNAME = 1 << 1,
80 virtual std::map<std::string, std::string>
graph() = 0;
85 virtual std::map<std::string, std::string>
nodes() = 0;
90 virtual std::map<std::string, std::string>
edges() = 0;
96 static std::string
escape(
const std::string&);
113 virtual std::map<std::string, std::string>
node(
const Device* device) = 0;
118 virtual std::map<std::string, std::string>
edge(
const Holder* holder) = 0;
126 class ActiongraphStyleCallbacks;
An abstract base class for storage devices.
Definition Device.h:82
Style callbacks used by Devicegraph::write_graphviz().
Definition Graphviz.h:105
virtual std::map< std::string, std::string > edge(const Holder *holder)=0
Attributes for a specific edge.
virtual std::map< std::string, std::string > node(const Device *device)=0
Attributes for a specific node.
Base class for DevicegraphStyleCallbacks and ActiongraphStyleCallbacks.
Definition Graphviz.h:72
virtual std::map< std::string, std::string > edges()=0
Default attributes for edges.
virtual std::map< std::string, std::string > graph()=0
Attributes for the graph.
static std::string escape(const std::string &)
Helper function to escape a string to a graphviz escString, see https://graphviz.gitlab....
virtual std::map< std::string, std::string > nodes()=0
Default attributes for nodes.
An abstract base class for storage holders.
Definition Holder.h:57
The storage namespace.
Definition Actiongraph.h:40
DevicegraphStyleCallbacks * get_debug_devicegraph_style_callbacks()
Get a DevicegraphStyleCallbacks object for debugging.
ActiongraphStyleCallbacks * get_debug_actiongraph_style_callbacks()
Get a ActiongraphStyleCallbacks object for debugging.
GraphvizFlags
Bitfield to control graphviz output.
Definition Graphviz.h:45