Method: MotionBlender::GraphMaker#initialize
- Defined in:
- lib/motion_blender/graph_maker.rb
#initialize(dependencies, opts = {}) ⇒ GraphMaker
Returns a new instance of GraphMaker.
10 11 12 13 14 15 16 |
# File 'lib/motion_blender/graph_maker.rb', line 10 def initialize dependencies, opts = {} @dependencies = dependencies @title = opts[:title] @filter = opts[:filter] @layout = opts[:layout].try(:to_sym) || :sfdp @output = opts[:output] || 'graph.pdf' end |