Generating Structured Flow Diagrams: The Nature of Unstructuredness