visitor: queue edges