Michael Pasdziernik wrote:
> Hi,
> Ok, dot is a simple text file. Replacing "arrowhead = none" with "arrowhead = 
> normal"
> solves the Problem.
> Regards
> Michael
>   
You can also steal the formatting used for producing a dot spec of an 
AST. This creates coloring and so on that makes the resulting png/other 
graphic generally more readable.

See DOTTreeGenerator.java, where you will find:

"digraph {\n\n" +
            "\tordering=out;\n" +
            "\tranksep=.4;\n" +
            "\tbgcolor=\"lightgrey\"; node [shape=box, fixedsize=false, 
fontsize=12, fontname=\"Helvetica-bold\", fontcolor=\"blue\"\n" +
            "\t\twidth=.25, height=.25, color=\"black\", 
fillcolor=\"white\", style=\"filled, solid, bold\"];\n" +
            "\tedge [arrowsize=.5, color=\"black\", style=\"bold\"]\n\n" +
            "  $nodes$\n" +
            "  $edges$\n" +
            "}\n"



Jim

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to