separated algorithm data from graph data