blob: d8e39636bb592c1b65886a46d7cabf8dd0cb9787 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "tikzgraphassembler.h"
TikzGraphAssembler::TikzGraphAssembler(Graph *graph, QObject *parent) :
_graph(graph), QObject(parent)
{
}
void TikzGraphAssembler::addNodeToMap(Node *n) { _nodeMap.insert(n->name(), n); }
Node *TikzGraphAssembler::nodeWithName(QString name) { return _nodeMap[name]; }
Graph *TikzGraphAssembler::graph() const
{
return _graph;
}
|