Method: Attr::Gather::Workflow::TaskGraph#to_dot

Defined in:
lib/attr/gather/workflow/task_graph.rb

#to_dot(preview: false) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



67
68
69
70
# File 'lib/attr/gather/workflow/task_graph.rb', line 67

def to_dot(preview: false)
  serializer = DotSerializer.new(self)
  preview ? serializer.preview : serializer.to_dot
end