From f819c5ba44023769d5c8512cdf489d001c1da09d Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Thu, 19 Apr 2012 13:22:42 +0100 Subject: Edges can now be reversed easily --- tikzit/src/common/Graph.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tikzit/src/common/Graph.h') diff --git a/tikzit/src/common/Graph.h b/tikzit/src/common/Graph.h index c680219..f5d8bed 100644 --- a/tikzit/src/common/Graph.h +++ b/tikzit/src/common/Graph.h @@ -277,6 +277,13 @@ */ - (GraphChange*)shiftNodes:(id)ns byPoint:(NSPoint)p; +/*! + @brief Reverse the given edges + @param es the edges to reverse + @result A GraphChange recording this action. + */ +- (GraphChange*)reverseEdges:(NSSet *)es; + /*! @brief Insert the given graph into this one. Used for copy and paste. -- cgit v1.2.3