summaryrefslogtreecommitdiff
path: root/tikzit/src/common/GraphChange.h
diff options
context:
space:
mode:
Diffstat (limited to 'tikzit/src/common/GraphChange.h')
-rw-r--r--tikzit/src/common/GraphChange.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/tikzit/src/common/GraphChange.h b/tikzit/src/common/GraphChange.h
index cb4ca09..ef56005 100644
--- a/tikzit/src/common/GraphChange.h
+++ b/tikzit/src/common/GraphChange.h
@@ -33,6 +33,7 @@ typedef enum {
EdgesPropertyChange,
NodesShift,
NodesFlip,
+ EdgesReverse,
BoundingBoxChange,
GraphPropertyChange,
NodeOrderChange,
@@ -291,7 +292,6 @@ typedef enum {
*/
+ (GraphChange*)shiftNodes:(NSSet*)ns byPoint:(NSPoint)p;
-
/*!
@brief Construct a horizontal or vertical flip of a set of nodes.
@param ns the affected nodes.
@@ -301,6 +301,13 @@ typedef enum {
+ (GraphChange*)flipNodes:(NSSet*)ns horizontal:(BOOL)b;
/*!
+ @brief Construct a reversal of a set of edges.
+ @param es the affected edges.
+ @result A reverse of a set of edges.
+ */
++ (GraphChange*)reverseEdges:(NSSet*)es;
+
+/*!
@brief Construct a bounding box change
@param oldBB the old bounding box
@param newBB the new bounding box