You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New lines (\n) in commented out lines breaks parsing
# This works
def test1():
dot = '''digraph G {
# a to b comment
#a -> b [label="line1 line2"]
a -> b [label="line1\nline2"]
}'''
graph = AGraph(dot)
# This gives DotError("Invalid Input")
def test2():
dot = '''digraph G {
# a to b comment
a -> b [label="line1 line2"]
#a -> b [label="line1\nline2"]
}'''
graph = AGraph(dot)
The text was updated successfully, but these errors were encountered:
New lines (\n) in commented out lines breaks parsing
The text was updated successfully, but these errors were encountered: