Directed Acyclic Graph Prompts