lookUpMap for graph ids added to avoid single nodes