renamed and merged (di)graph handlers into traversal