displaying dynamically graph function is added
but there is some problem with link data