retrieve graphs