adding code to import view of project on click in graph