Fix thumbnail images and HTML labels for relationship graph (Graphviz).
svn: r9604
This commit is contained in:
@@ -214,7 +214,12 @@ class GVDocBase(BaseDoc.BaseDoc,BaseDoc.GVDoc):
|
||||
Implementes BaseDoc.GVDoc.add_node().
|
||||
"""
|
||||
line = ' "%s" [' % id
|
||||
line += 'label="%s"' % label
|
||||
|
||||
if label.startswith("<"):
|
||||
# This must be HTML
|
||||
line += 'label=<%s>' % label
|
||||
else:
|
||||
line += 'label="%s"' % label
|
||||
|
||||
if shape:
|
||||
line += ', shape="%s"' % shape
|
||||
|
Reference in New Issue
Block a user