title: tree generation for rules in python
body: <p>I would like to draw a tree like structure using Tkinter for the following data:</p>
  
  <pre><code> S---&gt;NP VGF NP VGNF
   NP---&gt;N_NNP_O_M        
   VGF---&gt;V_VM_VF     
   NP---&gt;N_NNP_S_F        
   VGNF---&gt;V_VM_VNF       
  
   V_VM_VF---&gt;എത്തി   
   N_NNP_S_F---&gt;സീതയെ 
   V_VM_VNF---&gt;കാണാന്‍    
   N_NNP_O_M---&gt;രാമൻ  
  </code></pre>
  
  <p>This is the CFG rules  for a single sentence, it written in a file. </p>
  
  <p>How can i view these rules in the form of tree in python? That is parse tree. </p>
  
  <p>How can I draw the tree using Tkinter in GUI.</p>
  
  <p><strong>Any help or any hint will be very much appreciated.</strong></p>