title: stanford dependency parser
body: <p>I have tried stanford dependency parser. I got the following parse tree and relation.But I need a dependency graph. How to get it. Is there any way to covert the dependencies to graph? Please help me. I am new to java and stanford tools. </p>
  
  <p>Program is a set of instruction</p>
  
  <pre><code>(ROOT
    (S
      (NP (NNP Program))
      (VP (VBZ is)
        (NP
          (NP (DT a) (NN set))
          (PP (IN of)
            (NP (NN instruction)))))))
  
  nsubj(set-4, Program-1)
  cop(set-4, is-2)
  det(set-4, a-3)
  root(ROOT-0, set-4)
  prep_of(set-4, instruction-6)
  </code></pre>