Code related to DocGraph analysis