|
| Graph (const String &name, Type type, bool strict=false) |
|
void | render (std::ostream &os, const String &layout="dot", const String &format="svg") |
|
Node * | addNode (const String &name) |
|
Edge * | addEdge (const String &name, Node *head, Node *tail) |
|
Node * | node (const String &name) |
|
Edge * | edge (const String &name) |
|
void | set (const String &key, const String &value, bool html=false) |
|
Definition at line 49 of file Graph.h.
◆ Graph()
CPS::Graph::Graph::Graph |
( |
const String & | name, |
|
|
Type | type, |
|
|
bool | strict = false ) |
◆ ~Graph()
CPS::Graph::Graph::~Graph |
( |
| ) |
|
◆ addEdge()
Edge * CPS::Graph::Graph::addEdge |
( |
const String & | name, |
|
|
Node * | head, |
|
|
Node * | tail ) |
◆ addNode()
Node * CPS::Graph::Graph::addNode |
( |
const String & | name | ) |
|
◆ edge()
Edge * CPS::Graph::Graph::edge |
( |
const String & | name | ) |
|
◆ node()
Node * CPS::Graph::Graph::node |
( |
const String & | name | ) |
|
◆ render()
void CPS::Graph::Graph::render |
( |
std::ostream & | os, |
|
|
const String & | layout = "dot", |
|
|
const String & | format = "svg" ) |
◆ mEdges
std::map<String, Edge *> CPS::Graph::Graph::mEdges |
|
protected |
◆ mGraph
Agraph_t* CPS::Graph::Graph::mGraph |
◆ mNodes
std::map<String, Node *> CPS::Graph::Graph::mNodes |
|
protected |
The documentation for this class was generated from the following files:
- /__w/dpsim/dpsim/dpsim-models/include/dpsim-models/Graph.h
- /__w/dpsim/dpsim/dpsim-models/src/Graph.cpp