Graph creation and displaying almost complete