From 80f45c3d427e4c5fb8fca8e8a88dde234766cd32 Mon Sep 17 00:00:00 2001 From: avenjamin Date: Tue, 10 Nov 2009 00:47:03 +0000 Subject: Fix syntax error in exported ER dot files. Issue #454 --- Source/TableDump.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Source/TableDump.m') diff --git a/Source/TableDump.m b/Source/TableDump.m index 99311518..f073f068 100644 --- a/Source/TableDump.m +++ b/Source/TableDump.m @@ -1596,6 +1596,8 @@ /* Dump the selected tables to a file handle in Graphviz dot format. + See here for language syntax: http://www.graphviz.org/doc/info/lang.html + (Not the easiest to decode) */ - (BOOL)dumpSchemaAsDotToFileHandle:(NSFileHandle *)fileHandle { @@ -1664,7 +1666,7 @@ } [metaString setString:[NSString stringWithFormat:@"\tsubgraph \"table_%@\" {\n", tableName]]; - [metaString appendString:@"\t\tnode = [ shape = \"plaintext\" ];\n"]; + [metaString appendString:@"\t\tnode [ shape = \"plaintext\" ];\n"]; [metaString appendString:[NSString stringWithFormat:@"\t\t\"%@\" [ label=<\n", tableName]]; [metaString appendString:@"\t\t\t\n"]; [metaString appendString:[NSString stringWithFormat:@"\t\t\t\n", hdrColor, tableName]]; -- cgit v1.2.3
%@