From 4d2df41cdbc77e5cdd0a5de1091257277175103e Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Sun, 28 Oct 2012 16:42:23 -0500 Subject: [PATCH] Format and document the 'state' template to improve readability --- .../antlr/v4/tool/templates/dot/graphs.stg | 25 ++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/tool/resources/org/antlr/v4/tool/templates/dot/graphs.stg b/tool/resources/org/antlr/v4/tool/templates/dot/graphs.stg index 0c237669f..09cc877e2 100644 --- a/tool/resources/org/antlr/v4/tool/templates/dot/graphs.stg +++ b/tool/resources/org/antlr/v4/tool/templates/dot/graphs.stg @@ -32,9 +32,28 @@ epsilon-edge(src,label,target,arrowhead,transitionIndex,loopback=false) ::= << :p -> [fontname="Times-Italic", label="ε", style="dashed"]; >> -state(state, label, name, transitions) ::= << -[fontsize=11, label="{