Method: ActionDispatch::Journey::Visitors::Dot#accept

Defined in:
actionpack/lib/action_dispatch/journey/visitors.rb

#accept(node, seed = [[], []]) ⇒ Object



202
203
204
205
206
207
208
209
210
211
212
213
214
# File 'actionpack/lib/action_dispatch/journey/visitors.rb', line 202

def accept(node, seed = [[], []])
  super
  nodes, edges = seed
  "  digraph parse_tree {\n    size=\"8,5\"\n    node [shape = none];\n    edge [dir = none];\n    \#{nodes.join \"\\n\"}\n    \#{edges.join(\"\\n\")}\n  }\n  eodot\nend\n"