added python script for generating graph and converting format for the visualization