diff options
Diffstat (limited to 'src/data/graph.h')
-rw-r--r-- | src/data/graph.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/data/graph.h b/src/data/graph.h index e9e2218..404fd8c 100644 --- a/src/data/graph.h +++ b/src/data/graph.h @@ -103,6 +103,14 @@ public: * vertically
*/
void reflectNodes(QSet<Node*> nds, bool horizontal);
+
+ /*!
+ * \brief rotateNodes rotates the given set of nodes clockwise or counter-clockwise,
+ * depending on the value of the second parameter.
+ * \param nds a set of nodes to flip
+ * \param clockwose a boolean determining whether to rotate clockwise or counter-clockwise
+ */
+ void rotateNodes(QSet<Node*> nds, bool clockwise);
signals:
public slots:
|