summaryrefslogtreecommitdiff
path: root/tikzit/src/common/Edge.h
diff options
context:
space:
mode:
Diffstat (limited to 'tikzit/src/common/Edge.h')
-rw-r--r--tikzit/src/common/Edge.h26
1 files changed, 24 insertions, 2 deletions
diff --git a/tikzit/src/common/Edge.h b/tikzit/src/common/Edge.h
index 6069b9f..b92d7a7 100644
--- a/tikzit/src/common/Edge.h
+++ b/tikzit/src/common/Edge.h
@@ -142,14 +142,36 @@ typedef enum {
@property (assign) EdgeBendMode bendMode;
/*!
+ @property head
+ @brief The starting point of the edge.
+ @detail This value is computed based on the source, target and
+ either bend or in/out angles. It is where the edge
+ makes contact with the source node.
+ */
+@property (readonly) NSPoint head;
+
+/*!
+ @property tail
+ @brief The ending point of the edge.
+ @detail This value is computed based on the source, target and
+ either bend or in/out angles. It is where the edge
+ makes contact with the target node.
+ */
+@property (readonly) NSPoint tail;
+
+/*!
@property cp1
- @brief The first control point. Computed from the source, target, and bend.
+ @brief The first control point of the edge.
+ @detail This value is computed based on the source, target and
+ either bend or in/out angles.
*/
@property (readonly) NSPoint cp1;
/*!
@property cp2
- @brief The second control point. Computed from the source, target, and bend.
+ @brief The second control point of the edge.
+ @detail This value is computed based on the source, target and
+ either bend or in/out angles.
*/
@property (readonly) NSPoint cp2;