summaryrefslogtreecommitdiff
path: root/tikzit/src/common/TikzGraphAssembler.h
diff options
context:
space:
mode:
authorAlex Merry <dev@randomguy3.me.uk>2013-03-26 12:54:41 +0000
committerAlex Merry <dev@randomguy3.me.uk>2013-03-26 12:54:41 +0000
commit3bfdc232f22f0fa5be20e0b603a8287626ec0c2f (patch)
treee54537047ac72238bc4eb2cd467d12e3a48b6939 /tikzit/src/common/TikzGraphAssembler.h
parent0f969b6ced7e9ebcbe4bc4e17867ff32d67f27bb (diff)
Add edge anchor editing to GTK port
Includes functions for testing if an anchor is valid.
Diffstat (limited to 'tikzit/src/common/TikzGraphAssembler.h')
-rw-r--r--tikzit/src/common/TikzGraphAssembler.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tikzit/src/common/TikzGraphAssembler.h b/tikzit/src/common/TikzGraphAssembler.h
index c365128..3403969 100644
--- a/tikzit/src/common/TikzGraphAssembler.h
+++ b/tikzit/src/common/TikzGraphAssembler.h
@@ -100,6 +100,16 @@
*/
+ (BOOL)validateTikzPropertyNameOrValue:(NSString*)tikz;
+/**
+ * Validate an edge anchor
+ *
+ * Checks that the given string will successfully lex if used as an anchor for
+ * and edge
+ * @param tikz the string to validate
+ * @return YES if the string can be used as an edge anchor, NO otherwise
+ */
++ (BOOL)validateTikzEdgeAnchor:(NSString*)tikz;
+
@end
// vi:ft=objc:noet:ts=4:sts=4:sw=4