Graph Data Algorithm