lib/ruote/engine/process_error.rb in ruote-2.1.4 vs lib/ruote/engine/process_error.rb in ruote-2.1.5

- old
+ new

@@ -66,8 +66,21 @@ end def to_h @h end + + protected + + def to_dot (opts) + + i = fei.to_storage_id + label = "error : #{message.gsub(/"/, "'")}" + + [ + "\"err_#{i}\" [ label = \"#{label}\" ];", + "\"err_#{i}\" -> \"#{i}\" [ style = \"dotted\" ];" + ] + end end end