Text this: Exploring the powers of stacks and queues via graph layouts