[Ruby] yard graph

43 views
Skip to first unread message

Phani Srikar Ganti

unread,
May 17, 2013, 11:13:40 AM5/17/13
to cu...@googlegroups.com
Hi All, I'm trying to use yard for documenting ruby code. It is generating decent documentation when I run yard doc, although, I also want to generate diagrams. I'm getting the following stdout when I'm running "yard graph" and it doesn't generate any diagrams, any suggestions on what it could be? I saw some discussions online that installing previous versions worked for them, although, I'm still facing issues:

digraph yard {
  graph [rankdir=BT rank=sink outputMode=nodesfirst packMode="graph" splines=true];
  node [shape=record rank=sink rankType=sink];
  Root [label="{root root}" rank=sink];
  subgraph cluster_ {
    label = ""; labelloc=b;
    Xyz [label="{module Xyz}" rank=sink];
    subgraph cluster_Xyz {
      label = "Xyz"; labelloc=b;
      Xyz_Abc [label="{module Abc}" rank=sink];
      subgraph cluster_Xyz_Abc {
        label = "Abc"; labelloc=b;
        Xyz_Abc_Def [label="{module Def}" rank=sink];
        subgraph cluster_Xyz_Abc_Def {
          label = "Def"; labelloc=b;
        }
      }
    }
  }
}

Thanks!
Srikar

aslak hellesoy

unread,
May 17, 2013, 12:53:09 PM5/17/13
to cu...@googlegroups.com
Wrong list?
--
-- Rules --
 
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
 
You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cu...@googlegroups.com. To unsubscribe from this group, send email to cukes+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Phani Srikar Ganti

unread,
May 17, 2013, 1:23:53 PM5/17/13
to cu...@googlegroups.com
Hi Aslak,
             I didn't understand your last post, what did you mean by, "Wrong list?"

The way I implemented is:

in the folder structure containing ruby code
yard doc -> to create docs
yard graph -> to create the graphs --> This was where I faced the problem

--
Srikar

aslak hellesoy

unread,
May 17, 2013, 2:04:11 PM5/17/13
to cu...@googlegroups.com


On Friday, May 17, 2013, Phani Srikar Ganti wrote:
Hi Aslak,
             I didn't understand your last post, what did you mean by, "Wrong list?"

Wrong *mailing list*?

This list is about Cucumber, not Yard.
 
The way I implemented is:

in the folder structure containing ruby code
yard doc -> to create docs
yard graph -> to create the graphs --> This was where I faced the problem

--
Srikar

--
Reply all
Reply to author
Forward
0 new messages