Use the correct GraphViz escape character for escaping curly brackets in model diagrams
@@ -282,8 +282,8 @@ def model_to_dot(
return (
str(shape)
.replace(str(None), "None")
- .replace("{", "/{")
- .replace("}", "/}")
+ .replace("{", "\{")
+ .replace("}", "\}")
)
try:
