ObjectGraph will output Graphviz dot files of your objects in memory.
It will ferret out your instance variables and enumerate over your
enumerables to give you a graph of your object and its relationships.
ObjectGraph will output Graphviz dot files of your objects in memory.
It will ferret out your instance variables and enumerate over your
enumerables to give you a graph of your object and its relationships.
This is really cool! I have a long time love hate relationship with
graphviz. This is mostly due to how hard it can be to display large
graphs. If you are interested I would recommend checking out prefuse:
as an additional output method. It does a better job when displaying
large graphs.
Cheers,
Zev
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.