DPsim
Public Member Functions | Public Attributes | Protected Attributes | List of all members
CPS::Graph::Graph Class Reference

#include <Graph.h>

Inheritance diagram for CPS::Graph::Graph:
[legend]
Collaboration diagram for CPS::Graph::Graph:
[legend]

Public Member Functions

 Graph (const String &name, Type type, bool strict=false)
 
void render (std::ostream &os, const String &layout="dot", const String &format="svg")
 
NodeaddNode (const String &name)
 
EdgeaddEdge (const String &name, Node *head, Node *tail)
 
Nodenode (const String &name)
 
Edgeedge (const String &name)
 
- Public Member Functions inherited from CPS::Graph::Element
void set (const String &key, const String &value, bool html=false)
 

Public Attributes

Agraph_t * mGraph
 

Protected Attributes

std::map< String, Node * > mNodes
 
std::map< String, Edge * > mEdges
 
- Protected Attributes inherited from CPS::Graph::Element
void * mPtr
 
int mKind
 

Detailed Description

See: http://www.graphviz.org/pdf/libguide.pdf

Definition at line 52 of file Graph.h.


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