libstorage-ng
Loading...
Searching...
No Matches
storage::GraphStyleCallbacks Class Referenceabstract

Base class for DevicegraphStyleCallbacks and ActiongraphStyleCallbacks. More...

#include <Graphviz.h>

Inheritance diagram for storage::GraphStyleCallbacks:
[legend]

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.

Detailed Description

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/.


The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/libstorage-ng-4.5.266-build/libstorage-ng-4.5.266/storage/Graphviz.h