summaryrefslogtreecommitdiff
path: root/tikzit/src/common/NodeStyle.m
diff options
context:
space:
mode:
Diffstat (limited to 'tikzit/src/common/NodeStyle.m')
-rw-r--r--tikzit/src/common/NodeStyle.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/tikzit/src/common/NodeStyle.m b/tikzit/src/common/NodeStyle.m
index f81d7eb..26ab793 100644
--- a/tikzit/src/common/NodeStyle.m
+++ b/tikzit/src/common/NodeStyle.m
@@ -95,6 +95,10 @@
[super dealloc];
}
+- (NSString*) description {
+ return [NSString stringWithFormat:@"Node style \"%@\"", name];
+}
+
- (void) updateFromStyle:(NodeStyle*)style {
[self setStrokeThickness:[style strokeThickness]];
[self setScale:[style scale]];