diff options
Diffstat (limited to 'tikzit/src/common/TikzGraphAssembler.h')
-rw-r--r-- | tikzit/src/common/TikzGraphAssembler.h | 10 |
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 |