Class | Ramaze::AppGraph |
In: |
lib/ramaze/app_graph.rb
|
Parent: | Object |
The AppGraph class can be used to generate a graph of all the URLs mapped in a Ramaze application and saves this graph as an image.
In order to generate a graph of your application all you need to do is the following:
require 'ramaze/app_graph' graph = Ramaze::AppGraph.new graph.generate graph.show
Once this code is executed you can find the .dot and PNG files in the root directory of your application.
@author Michael Fellinger