a little library (or script) that helps to convert graph data to the desired form with some transformations