Use Wolkflow to draw flow-chart directly.
git clone https://github.com/Scott1743/FlowDrawing.git
To install GraphViz
MAC OS:
brew install GraphViz
Ubuntu:
sudo apt-get install graphviz
In FlowDrawing root path:
bundle install
unicorn
Open 'localhost:8080' in your browser. Have Fun :)