Version: 9.15.0
GraphWrapper Class Reference

Public Member Functions

virtual ~GraphWrapper ()
 
void init (char *name, Agdesc_t desc=Agstrictdirected, Agdisc_t *disc=nullptr)
 
Agraph_t * getGraph () const
 
GVC_t * getGvc () const
 

Private Attributes

Agraph_t * m_graph = nullptr
 
GVC_t * m_gvc = nullptr
 

Detailed Description

RAII wrapper to graphviz Agraph_t.

Constructor & Destructor Documentation

◆ ~GraphWrapper()

GraphWrapper::~GraphWrapper ( )
virtual

References m_graph, and m_gvc.

Member Function Documentation

◆ getGraph()

Agraph_t* GraphWrapper::getGraph ( ) const
inline

References m_graph.

◆ getGvc()

GVC_t* GraphWrapper::getGvc ( ) const
inline

References m_gvc.

◆ init()

void GraphWrapper::init ( char *  name,
Agdesc_t  desc = Agstrictdirected,
Agdisc_t *  disc = nullptr 
)

References m_graph, and m_gvc.

Member Data Documentation

◆ m_graph

Agraph_t* GraphWrapper::m_graph = nullptr
private

◆ m_gvc

GVC_t* GraphWrapper::m_gvc = nullptr
private

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