File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -72,18 +72,18 @@ def get_label(node):
72
72
)
73
73
if nodename is not None :
74
74
if isinstance (node , ops .Relation ):
75
- label_fmt = "<<I>{}</I>: <B>{}</B>{}> "
75
+ label_fmt = "<<I>{}</I>: <B>{}</B>{}"
76
76
else :
77
- label_fmt = '<<I>{}</I>: <B>{}</B><BR ALIGN="LEFT" />:: {}> '
77
+ label_fmt = '<<I>{}</I>: <B>{}</B><BR ALIGN="LEFT" />:: {}'
78
78
# typename is already escaped
79
79
label = label_fmt .format (escape (nodename ), escape (name ), typename )
80
80
else :
81
81
if isinstance (node , ops .Relation ):
82
- label_fmt = "<<B>{}</B>{}> "
82
+ label_fmt = "<<B>{}</B>{}"
83
83
else :
84
- label_fmt = '<<B>{}</B><BR ALIGN="LEFT" />:: {}> '
84
+ label_fmt = '<<B>{}</B><BR ALIGN="LEFT" />:: {}'
85
85
label = label_fmt .format (escape (name ), typename )
86
- return label
86
+ return f' { label } <BR ALIGN="LEFT" />>'
87
87
88
88
89
89
DEFAULT_NODE_ATTRS = {"shape" : "box" , "fontname" : "Deja Vu Sans Mono" }
You can’t perform that action at this time.
0 commit comments