Generate simple flow diagrams