Introduced Node class for breeding graphs.