completed pin graph generation