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
When calling Viz() only first time error line matches original input. Next calls return errors on incrementing lines. Some errors are reported only first few calls. Example of this behavior can be viewed on fiddle.
Also reporting on console is little bit inconvenient but it is another issue.
The text was updated successfully, but these errors were encountered:
…ors. Addresses #46.
Given input like "digraph {} ->", Graphviz seems to think we have two graphs: one empty graph and one with a syntax error. Indeed, the input "digraph A {} digraph B {}" will produce two valid output graphs with the dot command-line tool. The problem is that when called multiple times for different input, agmemread() appears to return output for successive graphs in the initial input.
- Return output from the first graph in the input (if there is one), and throw an exception if any of the input graphs contain a syntax error.
- Call agmemread() until there are no more graphs, setting its input to the empty string after the first call.
When calling
Viz()
only first time error line matches original input. Next calls return errors on incrementing lines. Some errors are reported only first few calls. Example of this behavior can be viewed on fiddle.Also reporting on
console
is little bit inconvenient but it is another issue.The text was updated successfully, but these errors were encountered: