diff options
author | Alex Merry <alex.merry@cs.ox.ac.uk> | 2013-02-04 11:55:17 +0000 |
---|---|---|
committer | Alex Merry <alex.merry@cs.ox.ac.uk> | 2013-02-04 11:55:17 +0000 |
commit | 5349460f6ba630d92ab61f4cbe1c04210e7684cc (patch) | |
tree | ffca8efdeb7e51477d6f90e93512f75432600c48 /tikzit/src/common/Edge.h | |
parent | f9bdbf93887313a79528696607d96140f33cbd84 (diff) | |
parent | 5afd392bb6ddde79f0518ffd913bd8c365bf39e6 (diff) |
Merge branch 'master' into multi-docs
Diffstat (limited to 'tikzit/src/common/Edge.h')
-rw-r--r-- | tikzit/src/common/Edge.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tikzit/src/common/Edge.h b/tikzit/src/common/Edge.h index 607fcc6..cc636dd 100644 --- a/tikzit/src/common/Edge.h +++ b/tikzit/src/common/Edge.h @@ -58,6 +58,8 @@ typedef enum { float weight; EdgeStyle *style; GraphElementData *data; + NSString *sourceAnchor; + NSString *targetAnchor; // When set to YES, lazily create the edge node, and keep it around when set // to NO (at least until saved/loaded). @@ -115,6 +117,18 @@ typedef enum { @property (retain) Node *edgeNode; /*! + @property sourceAnchor + @brief The source node anchor point, as in north or center. + */ +@property (copy) NSString *sourceAnchor; + +/*! + @property targetAnchor + @brief The target node anchor point, as in north or center. + */ +@property (copy) NSString *targetAnchor; + +/*! @property hasEdgeNode @brief A read/write property. When set to true, a new edge node is actually constructed. */ |