In Files

  • bundler/graph.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

Bundler::Graph

Constants

GRAPH_NAME

Attributes

edge_options[R]
groups[R]
node_options[R]
output_file[R]
output_format[R]
relations[R]

Public Class Methods

new(env, output_file, show_version = false, show_requirements = false, output_format = "png", without = []) click to toggle source
 
               # File bundler/graph.rb, line 8
def initialize(env, output_file, show_version = false, show_requirements = false, output_format = "png", without = [])
  @env               = env
  @output_file       = output_file
  @show_version      = show_version
  @show_requirements = show_requirements
  @output_format     = output_format
  @without_groups    = without.map(&:to_sym)

  @groups            = []
  @relations         = Hash.new {|h, k| h[k] = Set.new }
  @node_options      = {}
  @edge_options      = {}

  _populate_relations
end
            

Public Instance Methods

viz() click to toggle source
 
               # File bundler/graph.rb, line 26
def viz
  GraphVizClient.new(self).run
end