function fromDot(text): GraphData;
Parse DOT text into a graph. Throws a SyntaxError that names the offset when the text is not DOT. See the module comment for what is read and what is kept.
SyntaxError
text
string
GraphData