HTML tags in DOT labels: bug?

Anonymous
2012-06-15
2013-05-14
  • Anonymous

    Anonymous - 2012-06-15

    Hi.  When I try to parse a DOT file using dot_parser.parse_dot_data(), it appears to break on HTML tags.  For example, parsing this DOT file:

    digraph g
    {
        q ;
    }

    would result in this error:

        q ;
          ^
    Expected "}" (at char 18), (line:3, col:7)

    Is this a bug, unimplemented feature, or some misunderstanding on my part?  Thanks, cheers.

    Jeremy

     
  • Paul McGuire

    Paul McGuire - 2012-06-15

    For some reason, the authors of this parser have disallowed whitespace between the '=' and the leading '<' of your html. Try just writing "q " and see if this works better for you.

    • Paul
     

Log in to post a comment.