Module: Graphwerk

Defined in:
lib/graphwerk/layout.rb,
lib/graphwerk.rb,
lib/graphwerk/railtie.rb,
lib/graphwerk/version.rb,
lib/graphwerk/constants.rb,
lib/graphwerk/builders/graph.rb,
lib/graphwerk/presenters/package.rb,
lib/graphwerk/deprecated_references_loader.rb

Overview

typed: strict frozen_string_literal: true

Defined Under Namespace

Modules: Builders, Constants, Presenters Classes: DeprecatedReferencesLoader, Layout, Railtie

Constant Summary collapse

VERSION =
'1.2.1'

Class Method Summary collapse

Class Method Details

.for_application(**args) ⇒ Object



17
18
19
20
21
# File 'lib/graphwerk.rb', line 17

def self.for_application(**args)
  Graphwerk::Builders::Graph.new(
    Packwerk::PackageSet.load_all_from(".")
  ).build.output(args)
end