Graph infrastructure classes