diff options
| author | 2015-08-20 11:36:18 +0200 | |
|---|---|---|
| committer | 2015-08-20 11:36:18 +0200 | |
| commit | 8a1c33fb342a3609ec4d22e918c5f847c59c1b91 (patch) | |
| tree | e813b281a6c78b881b811bcb931d32232b1bd435 /node/startingnode.cpp | |
| parent | bb413e7eab871cbc377eea0ece5444d1c758481b (diff) | |
| download | OneRoll-8a1c33fb342a3609ec4d22e918c5f847c59c1b91.tar.gz OneRoll-8a1c33fb342a3609ec4d22e918c5f847c59c1b91.zip | |
start fixing dot tree generation
Diffstat (limited to 'node/startingnode.cpp')
| -rw-r--r-- | node/startingnode.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/node/startingnode.cpp b/node/startingnode.cpp index b15101b..15ea053 100644 --- a/node/startingnode.cpp +++ b/node/startingnode.cpp @@ -13,9 +13,14 @@ void StartingNode::run(ExecutionNode*) m_nextNode->run(this); } } -QString StartingNode::toString() const +QString StartingNode::toString(bool withlabel) const { +if(withlabel) return "StartingNode [shape=box]"; +else + return "StartingNode"; +} + } qint64 StartingNode::getPriority() const { |