Module: RepoDependencyGraph::Output

Defined in:
lib/repo_dependency_graph/output.rb

Constant Summary collapse

MAX_HEX =
255

Class Method Summary collapse

Class Method Details

.draw(dependencies, options) ⇒ Object



6
7
8
9
10
11
12
13
14
15
# File 'lib/repo_dependency_graph/output.rb', line 6

def draw(dependencies, options)
  case options[:draw]
  when "html"
    draw_js(dependencies)
  when "table"
    draw_table(dependencies)
  else
    draw_png(dependencies)
  end
end