diff options
Diffstat (limited to 'tikzit/src/common/Node.m')
-rw-r--r-- | tikzit/src/common/Node.m | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tikzit/src/common/Node.m b/tikzit/src/common/Node.m index 39b1e75..d4da82b 100644 --- a/tikzit/src/common/Node.m +++ b/tikzit/src/common/Node.m @@ -145,7 +145,19 @@ @synthesize name; @synthesize label; @synthesize point; + @synthesize data; +- (void) insertObject:(GraphElementProperty*)gep + inDataAtIndex:(NSUInteger)index { + [data insertObject:gep atIndex:index]; +} +- (void) removeObjectFromDataAtIndex:(NSUInteger)index { + [data removeObjectAtIndex:index]; +} +- (void) replaceObjectInDataAtIndex:(NSUInteger)index + withObject:(GraphElementProperty*)gep { + [data replaceObjectAtIndex:index withObject:gep]; +} - (NodeStyle*)style { return style; |