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

Style callbacks used by Devicegraph::write_graphviz(). More...

#include <Graphviz.h>

Inheritance diagram for storage::DevicegraphStyleCallbacks:
[legend]
Collaboration diagram for storage::DevicegraphStyleCallbacks:
[legend]

Public Member Functions

virtual std::map< std::string, std::string > node (const Device *device)=0
 Attributes for a specific node.
 
virtual std::map< std::string, std::string > edge (const Holder *holder)=0
 Attributes for a specific edge.
 
- Public Member Functions inherited from storage::GraphStyleCallbacks
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.
 

Additional Inherited Members

- Static Public Member Functions inherited from storage::GraphStyleCallbacks
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

Style callbacks used by Devicegraph::write_graphviz().


The documentation for this class was generated from the following file: