add graph ana functions