Flow diagram DSL and charting