graph doc