I'm imagining a tree structure hidden under what looks like a simple spreadsheet interface. At any point, you might click a cell and say "give me the flow to this point" and it can spit out the text that led up to this moment. But when it's not needed, it's invisible.