Andrew Edwards
2007-Jul-10 12:03 UTC
Models relationship summary / Entity relationship diagram
Hi, Does anyone know of a tool or script that can parse the contents of the models folder and produce some sort of model relationship document, either a text summary or graphical representation? Thanks, Andrew. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Andrew Edwards
2007-Jul-10 13:02 UTC
Re: Models relationship summary / Entity relationship diagram
I''ve found a solution but wanted to post the answer just in case it is of interest to anyone else. Check this link for a very concise looking script that outputs in Graphviz DOT format. http://www.hackdiary.com/archives/000093.html Andrew. On 10 Jul, 13:03, Andrew Edwards <and...-ZYDPpGlny4uS7RsuTa25KztV0T984lsv@public.gmane.org> wrote:> Hi, > > Does anyone know of a tool or script that can parse the contents of > the models folder and produce some sort of model relationship > document, either a text summary or graphical representation? > > Thanks, Andrew.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Bill Walton
2007-Jul-10 13:37 UTC
Re: Models relationship summary / Entity relationship diagram
Hi Andrew, Andrew Edwards wrote:> > I''ve found a solution but wanted to post the answer just > in case it is of interest to anyone else. > > Check this link for a very concise looking script that outputs > in Graphviz DOT format. > > http://www.hackdiary.com/archives/000093.htmlThat looks like it could come in handy. Thanks for posting it. Best regards, Bill --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Rob Biedenharn
2007-Jul-10 14:45 UTC
Re: Models relationship summary / Entity relationship diagram
On Jul 10, 2007, at 8:03 AM, Andrew Edwards wrote:> Hi, > > Does anyone know of a tool or script that can parse the contents of > the models folder and produce some sort of model relationship > document, either a text summary or graphical representation? > > Thanks, Andrew.On Jul 10, 2007, at 9:37 AM, Bill Walton wrote:> Hi Andrew, > > Andrew Edwards wrote: >> >> I''ve found a solution but wanted to post the answer just >> in case it is of interest to anyone else. >> >> Check this link for a very concise looking script that outputs >> in Graphviz DOT format. >> >> http://www.hackdiary.com/archives/000093.html > > That looks like it could come in handy. Thanks for posting it. > > Best regards, > BillI''ll throw my own gem into the pot here, I build on the ideas that Matt has to produce model_graph: http://rubyforge.org/projects/model-graph/ IMHO, It does a much better job of depicting relationships. (And I *know* that a legend would be helpful, it''s coming,... really!) It also produces a DOT file that is best viewed with Graphviz, but can also be viewed with OmniGraffle (although the edge decorations aren''t nearly supported as well). -Rob Rob Biedenharn http://agileconsultingllc.com Rob-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Bill Walton
2007-Jul-10 16:01 UTC
Re: Models relationship summary / Entity relationship diagram
Hi Rob, Rob Biedenharn wrote:> I''ll throw my own gem into the pot here, I build on the > ideas that Matt has to produce model_graph: > > http://rubyforge.org/projects/model-graph/ >Cool! Thanks for sharing it. Best regards, Bill --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Maybe Matching Threads
- FREE Entity Relationship Diagram Software
- SQL -> Diagram script
- Hierarchical Diagram of Networks in sna or otherwise?
- [sem package] path.diagram() ignores the edge.label argument ..?
- Psych package: fa.diagram, how to re-arrange layout so numbers do not over-write each other