component graph created and visualised. satisfactory values assigned for each node according to orginal graph