Module: Attr::Gather::Workflow::Graphable::InstanceMethods

Included in:
Attr::Gather::Workflow
Defined in:
lib/attr/gather/workflow/graphable.rb

Overview

Instance methods for graph functionality

Instance Method Summary collapse

Instance Method Details

#to_dot(preview: true) ⇒ Object

Returns a graphviz visualization of the workflow

Parameters:

  • preview (Boolean) (defaults to: true)

    show a preview image of the Workflow



38
39
40
# File 'lib/attr/gather/workflow/graphable.rb', line 38

def to_dot(preview: true)
  self.class.to_dot(preview: preview)
end