title: Traversing a graph of flowchart in python
body: <p>I have a flow chart for implementing some rules in our product. Nodes consists of rules &amp; decisions including start and end node in every flowchart. Using networkx package of python, I got graphml of flowchart. Now, I want to traverse a graph in such a way that traversal should be same as flow of flowchart.
  Here is the image of flow chart.
  <a href="https://i.stack.imgur.com/NDEhw.png" rel="nofollow noreferrer">Flow chart</a></p>
  <p>I'm up for further further clarifications in my question, if anyone needed</p>